[committed][RISC-V][PR target/114139] Verify we have a CONST_INT before extracting...
[official-gcc.git] / gcc / testsuite / g++.dg / compat / pr102024_main.C
blob83965c824fdbb046b58bca4214139531863b66b9
1 /* { dg-require-effective-target int32plus } */
2 /* { dg-options "-Wno-abi" } */
3 /* { dg-options "-mno-mmx -Wno-abi" { target i?86-*-* x86_64-*-* } } */
4 /* { dg-options "-fno-common" { target hppa*-*-hpux* powerpc*-*-darwin* } } */
5 /* { dg-options "-mno-mmx -fno-common -Wno-abi" { target i?86-*-darwin* x86_64-*-darwin* } } */
6 /* { dg-options "-mno-base-addresses" { target mmix-*-* } } */
7 /* { dg-options "-mlongcalls -mtext-section-literals" { target xtensa*-*-* } } */
9 #include "struct-layout-1.h"
11 #define TX(n, type, attrs, fields, ops) extern void test##n (void);
12 #include "pr102024_test.h"
13 #undef TX
15 int main (void)
17 #define TX(n, type, attrs, fields, ops)   test##n ();
18 #include "pr102024_test.h"
19 #undef TX
20   if (fails)
21     {
22       fflush (stdout);
23       abort ();
24     }
25   exit (0);