Commit 5747af32 by Jason Merrill

new

From-SVN: r25599
parent b3b2275a
// Test to make sure that the array bounds are treated as an expression
// in template parm substitution.
// Written by Jason Merrill <jason@cygnus.com>
// Build don't link:
template <class T> void f (T t) { int ar[sizeof (T)]; }
int
main ()
{
f (1);
}
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