Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Sema / check-increment.c
blob011ebd85a79cd7075773e0a8d815ddd8742fc519
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
4 int printf(const char *, ...);
5 typedef int *pint;
6 int main(void) {
7 int a[5] = {0};
8 pint p = a;
9 p++;
10 printf("%d\n", *p);