blob: b7056e8d85e7f0ee2a0a6f65b21995665094d8ec [file] [log] [blame]
// PR c++/29729
template<typename T> void foo(T)
{
struct A
{
template<int> struct B // { dg-error "local class" }
{
typedef B<0> C;
}
};
}