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