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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
gnu_inline.cpp
blob
43a4bae48e95c5180682b576e9a9bb460ee1c89e
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3
extern inline
4
__attribute__
((
__gnu_inline__
))
5
void
gnu_inline1
() {}
6
7
inline
8
__attribute__
((
__gnu_inline__
))
// expected-warning {{'gnu_inline' attribute without 'extern' in C++ treated as externally available, this changed in Clang 10}}
9
void
gnu_inline2
() {}