Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
9901c57806f7e36736ed1616e6ab3eebcc99b78c
/
.
/
test
/
Sema
/
check-increment.c
blob: 070ea74f680012f5f43797c30c38f3c94cc39d0c [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
int
printf
(
const
char
*,
...);
typedef
int
*
pint
;
int
main
()
{
int
a
[
5
]
=
{
0
};
pint p
=
a
;
p
++;
printf
(
"%d\n"
,
*
p
);
}