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 c++/53848
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
incomplete1.C
blob
cb7970fad1c22b22df3e497c872b3e94f886e219
1
// PR c++/23089
2
// Origin: Flash Sheridan <flash@pobox.com>
3
// ICE on incomplete type
4
// { dg-do compile }
5
// { dg-options "-O" }
6
7
void foo(struct A) {} // { dg-error "incomplete type|forward declaration" }