Sign in
gnu
/
gcc
/
e5cfb9cac1d7aba9a8ea73bfe7922cfaff9d61f3
/
.
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr100786.c
blob: 7c03b08d8cbe69946211e5a013c27883ba8d74d0 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-require-alias "" } */
const
double
a
=
0
;
extern
int
b __attribute__
((
alias
(
"a"
)));
void
inc
()
{
b
++;
}
const
int
a2
=
0
;
extern
double
b2 __attribute__
((
alias
(
"a2"
)));
void
inc2
()
{
b2
+=
1
;
}