namespace N { template struct foo {}; } int main() { using N::foo; // { dg-error "" } }