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