Sign in
llvm
/
llvm-project
/
clang
/
f24f1aa67f8de1cb864ef833f358840411ebaf5b
/
.
/
test
/
Sema
/
artificial.c
blob: 71219f547f9293983f05feee2ac44f92dc680c6e [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
inline
void
__attribute__
((
artificial
))
foo
(
void
)
{}
void
__attribute__
((
artificial
))
bar
(
void
)
{}
// expected-warning {{'artificial' attribute only applies to inline functions}}