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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
Sema
/
check-increment.c
blob
011ebd85a79cd7075773e0a8d815ddd8742fc519
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
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
);
11
}