[libc] Switch to using the generic `<gpuintrin.h>` implementations (#121810)
[llvm-project.git] / clang / test / Sema / check-increment.c
blob66321a1c45e298e37b69fb1e222ab0ad13e97679
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // RUN: %clang_cc1 -fsyntax-only -verify %s -fexperimental-new-constant-interpreter
3 // expected-no-diagnostics
5 int printf(const char *, ...);
6 typedef int *pint;
7 int main(void) {
8 int a[5] = {0};
9 pint p = a;
10 p++;
11 printf("%d\n", *p);