diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/torture/pr48044.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/pr48044.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/torture/pr48044.c b/gcc/testsuite/gcc.dg/torture/pr48044.c new file mode 100644 index 00000000000..fe3b73402cc --- /dev/null +++ b/gcc/testsuite/gcc.dg/torture/pr48044.c @@ -0,0 +1,7 @@ +/* PR middle-end/48044 */ +/* { dg-do compile } */ +/* { dg-require-alias "" } */ + +int a __asm__ ("b") = 0; +extern int c __asm__ ("a") __attribute__ ((alias ("b"))); +extern int d __attribute__ ((weak, alias ("a"))); |