OSDN Git Service

add
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / explicit23.C
1 // Build don't run:
2 // GROUPS passed templates
3 template <class T>
4 int foo(T t) { return 1; }
5
6 template <>
7 int foo<int>(int i) { return 0; }
8
9 int main()
10 {
11   return foo<int>(3.0);
12 }