1 // PR c++/85242 2 3 namespace N 4 { 5 struct A {}; 6 } 7 8 template<struct N::A {}> void foo(); // { dg-error "" } 9