Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
;
}