1 /* { dg-do run } */ 2 /* { dg-require-alias "" } */ 3 4 extern void abort (void); 5 6 int a = 1, c = 1; 7 extern int b __attribute__((alias("a"))); 8 extern int d __attribute__((alias("c"))); main(int argc)9int main(int argc) 10 { 11 int *p, *q; 12 if (argc >= 0) 13 p = &c, q = &d; 14 else 15 p = &b, q = &d; 16 *p = 1; 17 *q = 2; 18 if (*p == 1) 19 abort(); 20 return 0; 21 } 22