Sign in
llvm
/
llvm-archive
/
8a078a762a98ba34ad83dc2c15e5ff2b86792d78
/
.
/
llvm-gcc-4.2
/
llvmgcc42-2326.9
/
gcc
/
testsuite
/
g++.dg
/
other
/
static2.C
blob: ff1478c2a9469f0ee24072c83159cf827bf48ed2 [
file
] [
log
] [
blame
]
//PR c++/26573
void
foo
()
{
struct
A
{
static
int
i
;
};
// { dg-error "shall not have" }
}
template
<
typename
T
>
void
bar
()
{
struct
B
{
static
int
j
;
};
// { dg-error "shall not have" }
}