aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/explicit19.C
blob: b209bbe8672a5fad2f7c0b6095e777315ed4c03e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Build don't run:
// GROUPS passed templates
template <class T>
int foo(T t);

template <>
int foo<int>(int i) { return 0; }

int main()
{
  return foo<int>(3.0);
}