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
2013-04-30 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
crash49.C
blob
07d7c3b2f95373cdc1c55f45e002290801d9f7e8
1
// PR c++/37552
2
// { dg-do compile }
3
4
extern struct A a[1]; // { dg-error "forward declaration" }
5
6
void
7
foo ()
8
{
9
a[0]; // { dg-error "invalid use of incomplete type" }
10
}