Sign in
chromium
/
native_client
/
nacl-toolchain
/
gdb-6.8
/
.
/
gcc
/
gcc
/
testsuite
/
g++.dg
/
template
/
error33.C
blob: b6a2a8ae8200903d053e1f0b56eb4073af34cfc1 [
file
] [
log
] [
blame
]
// PR c++/24791
template
<int>
struct
A
{
static
int
i
;
A
()
{
++
i
;
}
};
template
<int>
int
A
<
0
>::
i
(
0
);
// { dg-error "template" "error" }
// { dg-message "note" "note" { target *-*-* } 9 }
A
<
0
>
a
;