* c-common.c (get_priority): Add check for
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / static1.C
blobaafd0091da596a846430662c9f7127feb669c2c9
1 // { dg-do run  }
2 extern "C" void abort();
4 template <class T> 
5 class A
7  public:
8   static int foo(int);
9 };
11 template <>
12 int A<int>::foo(int i)
14   return i;
18 int main()
20   if (A<int>::foo(22) != 22)
21     abort();