blob: 2da5d60b55e319b5a4968fad2ce1576fd0e63424 [file] [log] [blame]
// PR c++/69323
template<int VALUE>
struct Outer
{
struct StupidValueTrick
{
template<int VAL> friend struct Outer::StupidValueTrick; // { dg-error "not a template" }
};
};
typedef Outer<42>::StupidValueTrick GoodValue;
GoodValue good;