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
/
torture
/
str_empty.C
blob
e24f0b6ac9f73df4fdc7433666d4b8b0947472b2
1
// PR c++/31617
2
// Segfault in integer_zerop
3
// Origin: Andrew Pinski <andrew_pinski@playstation.sony.com>
4
// { dg-do compile }
5
6
struct polynomial {
7
~polynomial ();
8
};
9
10
void spline_rep1 ()
11
{
12
new polynomial[0]; // { dg-bogus "allocating zero-element array" }
13
}
14
15