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;
}