Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
9baf39df74caa56696b293e763fdd7ef002e51ca
/
.
/
test
/
Lexer
/
has_attribute.cpp
blob: 9a58a3013fbec516709623d014a35a745e4280f4 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -E %s -o - | FileCheck %s
// CHECK: always_inline
#if __has_attribute(always_inline)
int
always_inline
();
#endif
// CHECK: no_dummy_attribute
#if !__has_attribute(dummy_attribute)
int
no_dummy_attribute
();
#endif