summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr48044.c
blob: fe3b73402cc3ba1d2a3f19877dbc05950208b59f (plain)
1
2
3
4
5
6
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")));