Commit 3db9b900 by Jason Merrill

new

From-SVN: r29480
parent 57be4e89
// 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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment