repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[libc] Switch to using the generic `<gpuintrin.h>` implementations (#121810)
[llvm-project.git]
/
clang
/
test
/
Sema
/
check-increment.c
blob
66321a1c45e298e37b69fb1e222ab0ad13e97679
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// RUN: %clang_cc1 -fsyntax-only -verify %s -fexperimental-new-constant-interpreter
3
// expected-no-diagnostics
4
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
);
12
}