repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
StmtPrinter: factor out arg printing code to PrintCallArgs
[clang.git]
/
test
/
Lexer
/
has_feature_rtti.cpp
blob
4bfeead329972b0133ca8feea20d1c7e76527417
1
// RUN: %clang_cc1 -E %s -o - | FileCheck --check-prefix=CHECK-RTTI %s
2
// RUN: %clang_cc1 -E -fno-rtti %s -o - | FileCheck --check-prefix=CHECK-NO-RTTI %s
3
4
#if __has_feature(cxx_rtti)
5
int
foo
();
6
#else
7
int
bar
();
8
#endif
9
10
// CHECK-RTTI: foo
11
// CHECK-NO-RTTI: bar