repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
clang
/
test
/
Sema
/
artificial.c
blob
71219f547f9293983f05feee2ac44f92dc680c6e
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3
inline
void
__attribute__
((
artificial
))
foo
(
void
) {}
4
void
__attribute__
((
artificial
))
bar
(
void
) {}
// expected-warning {{'artificial' attribute only applies to inline functions}}