OSDN Git Service

* g++.old-deja/g++.pt/static11.C: Add xtensa-*-elf* to the
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / lookup8.C
1 // Build don't link:
2 // Origin: Mark Mitchell <mark@codesourcery.com>
3
4 template <class T>
5 class X{};
6
7 class Y : public X<int>
8 {
9   void f();
10 };
11
12 void Y::f()
13 {
14   X x; // ERROR - X is not a type.
15 }