blob: 3b29403e60b9c7dc1e25b47974fe76cc5090b61e [file] [log] [blame]
// Build don't run:
// GROUPS passed templates
// Special g++ Options: -ansi -pedantic-errors -w
template <class T>
int foo(T t);
template <>
int foo<int>(int i) { return 0; }
int main()
{
return foo<int>(3.0);
}