repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
static2.C
blob
ff1478c2a9469f0ee24072c83159cf827bf48ed2
1
//PR c++/26573
2
3
void foo()
4
{
5
struct A { static int i; }; // { dg-error "shall not have" }
6
}
7
8
template<typename T>
9
void bar()
10
{
11
struct B { static int j; }; // { dg-error "shall not have" }
12
}