summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/explicit10.C
blob: b88dfd3b2f2dee6eaa7b7a4fdb9e021cf47bb5ec (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
// { dg-options "-ansi -pedantic-errors -w" }
// GROUPS passed templates
template <class T>
void foo(T t);

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