1 struct X {};
2 
3 template <int>
4 struct Base {
fooBase5     static void foo () {
6       X::NONEXISTENT (); // { dg-error "" }
7     }
8 };
9 
main()10 int main () {
11   Base<2>::foo ();
12 }
13