c++: Don't crash upon invalid placement new operator [PR117101]
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 920909-1.c
blob3c37c2c49b499b8f5a1962d5a4c7d4b3b35a7f30
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);}