2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / parse / lookup3.C
blobd4bf79830304ec32cea18cf16402fd74a43f6255
1 struct X {};
3 template <int>
4 struct Base {
5     static void foo () { 
6       X::NONEXISTENT (); // { dg-error "" }
7     }
8 };
10 int main () {
11   Base<2>::foo ();