Sign in
llvm
/
llvm-test-suite
/
195afe069d3e2ba1a1bd352d6f44ddf318201371
/
.
/
SingleSource
/
Regression
/
C
/
gcc-c-torture
/
execute
/
alias-2.c
blob: c62d5068ee98131cbca63f13af976f42ac4da6dd [
file
] [
log
] [
blame
]
/* { dg-require-alias "" } */
int
a
[
10
]={};
extern
int
b
[
10
]
__attribute__
((
alias
(
"a"
)));
int
off
;
main
()
{
b
[
off
]=
1
;
a
[
off
]=
2
;
if
(
b
[
off
]!=
2
)
__builtin_abort
();
return
0
;
}