Sign in
llvm
/
llvm-project
/
ae42196bc493ffe877a7e3dff8be32035dea4d07
/
.
/
clang
/
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}}