Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.pt / array4.C
blob0bd580af3e0e3853a20255cc455cd2a25650005d
1 // { dg-do assemble  }
2 // Test to make sure that the array bounds are treated as an expression
3 // in template parm substitution.
5 // Written by Jason Merrill <jason@cygnus.com>
8 template <class T> void f (T t) { int ar[sizeof (T)]; }
10 int
11 main ()
13   f (1);