repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
diagnostic
/
integral-array-size-1.C
blob
31d67c58d613b4da3865fe92531b4567cbfb7fb9
1
template<typename T>
2
void foo(T a)
3
{
4
new int[a]; // { dg-error "11:size in array new must have integral type" }
5
}
6
7
template void foo(float);