diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/compat/sdata-1_main.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/compat/sdata-1_main.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/compat/sdata-1_main.c b/gcc/testsuite/gcc.dg/compat/sdata-1_main.c new file mode 100644 index 000000000..68e9f8f09 --- /dev/null +++ b/gcc/testsuite/gcc.dg/compat/sdata-1_main.c @@ -0,0 +1,12 @@ +/* Check that sdata qualification doesn't produce out-of-range relocations + and that compilers agree on the way these declarations are handled. */ + +extern void sdata_1_x (void); +extern void exit (int); + +int +main () +{ + sdata_1_x (); + exit (0); +} |