Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr100509.c
blob: 38e7002ae026d469c1e62f2afa10746c7e66ecc1 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O" } */
/* { dg-require-alias "" } */
struct
X
{
int
a
;
};
const
int
a
=
0
;
static
struct
X A __attribute__
((
alias
(
"a"
)));
void
foo
()
{
struct
X b
=
A
;
}