2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / scoped6.C
blobd9566a7e0994d849674b3c25ba479ea3a3001b2b
1 template <typename X>
2 class Foo {
3   int i;
4 public:
5   Foo() {
6     X::explode(); // { dg-error "" }
7   }
8 };
10 class Bar {
11   Foo<int> foo_;
12 public:
13   Bar() {}  // { dg-error "instantiated" }
16 template class Foo<int>;