Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / diagnostic / integral-array-size-1.C
blob31d67c58d613b4da3865fe92531b4567cbfb7fb9
1 template<typename T>
2 void foo(T a)
4   new int[a];  // { dg-error "11:size in array new must have integral type" }
7 template void foo(float);