blob: 0bd580af3e0e3853a20255cc455cd2a25650005d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// { dg-do assemble }
// Test to make sure that the array bounds are treated as an expression
// in template parm substitution.
// Written by Jason Merrill <jason@cygnus.com>
template <class T> void f (T t) { int ar[sizeof (T)]; }
int
main ()
{
f (1);
}
|