Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
1b8956e1ce4c5770982d6e59edb16979b500677a
/
.
/
test
/
Sema
/
check-increment.c
blob: 4447feb0b8e6baac34b0b54da43d5073ca339af1 [
file
] [
log
] [
blame
]
Steve Naroff
d848a38
2007-11-11 14:15:57 +0000
[
diff
] [
blame
]
1
// RUN: clang -fsyntax-only -verify %s
2
3
#include
<stdio.h>
4
typedef
int
*
pint
;
5
int
main
()
{
6
int
a
[
5
]
=
{
0
};
7
pint p
=
a
;
8
p
++;
9
printf
(
"%d\n"
,
*
p
);
10
}