repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
c++: Don't crash upon invalid placement new operator [PR117101]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
920909-1.c
blob
3c37c2c49b499b8f5a1962d5a4c7d4b3b35a7f30
1
/* { dg-additional-options "-std=gnu89" } */
2
f
(
a
){
switch
(
a
){
case
0x402
:
return
a
+
1
;
case
0x403
:
return
a
+
2
;
case
0x404
:
return
a
+
3
;
case
0x405
:
return
a
+
4
;
case
0x406
:
return
1
;
case
0x407
:
return
4
;}
return
0
;}
3
main
(){
if
(
f
(
1
))
abort
();
exit
(
0
);}