Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash99.C
blob: 606d3e3049b2e034334066ceb0932104881c5dc0 [
file
] [
log
] [
blame
]
// PR c++/34491
template
<typename>
struct
A
;
template
<
0
>
struct
A
<int>
// { dg-error "expected|template|anonymous" }
{
static
const
int
i
=
0
;
};
int
n
=
A
<int>
::
i
;
// { dg-error "incomplete type" }