// { dg-do assemble } namespace N { template struct S; } void f() { N::S(); // { dg-error "" } invalid use of template }