Commit 69333130 by Jason Merrill

new

From-SVN: r23763
parent 72a93143
// Build don't link:
template<typename T> T baz() { return 0; }
struct foo {
template<typename T> static T staticbar() { return 0; }
template<typename T> T bar() { return 0; }
};
void f()
{
foo t;
int i = baz<int>();
int j = foo::staticbar<int>();
int k = t.bar<int>();
}
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