builtin-has-attribute-4.c: Skip on 32-bit hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr57438-2.c
blobf3ff1dc1ed208e02df0ee23ea351abffbe765687
1 /* { dg-do compile { target *-*-darwin* } } */
2 /* { dg-options "--param case-values-threshold=3 -O2" } */
3 /* { dg-additional-options "-funwind-tables" { target powerpc*-*-darwin* } }
5 /* This is testing that a trailing local label is followed by a
6 nop where required. */
8 int foo (int x)
10 switch (x)
12 case 0:
13 return 10;
14 case 3:
15 return -1;
16 case 5:
17 return 29;
18 default:
19 __builtin_unreachable();
23 /* { dg-final { scan-assembler "nop\\nLFE.*" { target { *-*-darwin* } } } } */