Sign in
llvm
/
llvm-project
/
clang
/
refs/heads/main
/
.
/
test
/
Sema
/
attr-self-alias.c
blob: ff75326f6b0c10b01a047e2943abec5950abf693 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -triple x86_64-pc-linux -verify -emit-llvm-only %s
int
self_alias
(
void
)
__attribute__
((
weak
,
alias
(
"self_alias"
)));
// expected-error {{alias definition is part of a cycle}}