Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
attr-alias-2.c
blob: 39bdba6386844848ac434f6a6e373fea79898a6f [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-require-alias "" } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
static
int
a
=
4
;
static
int
b __attribute__
((
alias
(
"a"
)));
int
main
()
{
return
b
+
a
;
}
/* { dg-final { scan-tree-dump "return 8" "optimized" } } */