Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash35.C
blob: c457798dd02c06420ac5088c62bcadd204e6c8a6 [
file
] [
log
] [
blame
]
// PR c++/20463
// { dg-do compile }
template
<
typename
T
>
struct
C
;
// { dg-message "declaration" }
template
<
typename
T
>
void
C
<
T
>::
f
()
// { dg-error "invalid|template" }
{
const
foo bar
;
}