summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/explicit29.C
blob: b402cd3c3344ec51080cf96ede7f6af75ff0b498 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do link  }
// GROUPS passed templates
template <class T>
int foo(T) { return 0; }

int foo(int);

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