YouCompleteMe/cpp/llvm/tools/clang/test/Sema/check-increment.c

11 lines
175 B
C
Raw Normal View History

// RUN: %clang_cc1 -fsyntax-only -verify %s
int printf(const char *, ...);
typedef int *pint;
int main() {
int a[5] = {0};
pint p = a;
p++;
printf("%d\n", *p);
}