libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / pr100509.c
blob38e7002ae026d469c1e62f2afa10746c7e66ecc1
1 /* { dg-do compile } */
2 /* { dg-options "-O" } */
3 /* { dg-require-alias "" } */
5 struct X {
6 int a;
7 };
8 const int a = 0;
9 static struct X A __attribute__((alias("a")));
10 void foo() { struct X b = A; }