// { dg-do link } // { dg-options "-ansi -pedantic-errors -w" } // GROUPS passed templates template int foo(T t) { return 0; } int foo(int i); int main() { return foo(3.0); }