repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
other
/
semicolon.C
blob
6bc3d95217b31609481984fb05d9dd17f14d4eed
1
// PR c++/18368
2
// Origin: Chris Lattner <sabre@nondot.org>
3
// { dg-do compile }
4
5
struct A
6
{
7
struct B { int i; }
8
void foo(); // { dg-error "two or more|return type" }
9
}; // { dg-error "semicolon is missing" "" { target *-*-* } 8 }