blob: 31d67c58d613b4da3865fe92531b4567cbfb7fb9 [file] [log] [blame]
template<typename T>
void foo(T a)
{
new int[a]; // { dg-error "11:size in array new must have integral type" }
}
template void foo(float);