repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR target/55146
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr53532.c
blob
9caea40be9c52ed2db1710b1d877632e828dafac
1
/* PR c/53532 */
2
/* { dg-do compile } */
3
/* { dg-options "" } */
4
5
struct
S
{};
6
extern
int
foo
(
struct
S
);
7
8
int
9
main
()
10
{
11
foo
((
struct
T
) {});
/* { dg-error "invalid use of undefined type" } */
12
return
0
;
13
}