summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.ns/crash3.C
blob: 37211d0db3fe24395197876a9b637be6671fc2c7 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }

namespace N {
  template <class T> struct S;
}

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