Sign in
cobalt
/
cobalt
/
63c7ad499be49ef959b3b1c5ea3f48491aa033d3
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
Sema
/
check-increment.c
blob: ae33c2085666ad7d96dd9700b8fe65a4128fea13 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
int
printf
(
const
char
*,
...);
typedef
int
*
pint
;
int
main
()
{
int
a
[
5
]
=
{
0
};
pint p
=
a
;
p
++;
printf
(
"%d\n"
,
*
p
);
}