projects
/
platform
/
upstream
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5045b88b6aff4734ff7b16c5a342c48fd2e4fda0
[platform/upstream/gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
noncompile
/
pr71583.c
1
/* PR c/71583 */
2
/* { dg-do compile } */
3
4
void
5
f (int i)
6
{
7
(int (*)[++i]) { int }; /* { dg-error "expected" } */
8
(int (*)[++i]) { }; /* { dg-error "empty" } */
9
(int (*)[++i]) { , }; /* { dg-error "expected" } */
10
(int (*)[++i]) { f () }; /* { dg-error "too few" } */
11
}