blob: 4067d0c90f353c4ace1deb5f6a5f133282b969cf [file] [log] [blame]
// Test that collect2 isn't confused by GNU ld's "In function `foo':" message.
// Contributed by Jason Merrill <jason@cygnus.com>
// Build then link:
// Special g++ Options: -frepo
template <class T>
T f (T t)
{
return t;
}
template <class T>
T g (T t)
{
return f (t);
}
int main ()
{
int i = g (42);
}