summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Lexer/has_feature_rtti.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Lexer/has_feature_rtti.cpp b/clang/test/Lexer/has_feature_rtti.cpp
index 05bbd8860f0..cc01f61cba6 100644
--- a/clang/test/Lexer/has_feature_rtti.cpp
+++ b/clang/test/Lexer/has_feature_rtti.cpp
@@ -1,7 +1,7 @@
// RUN: clang -E -frtti %s -o - | FileCheck --check-prefix=CHECK-RTTI %s
// RUN: clang -E -fno-rtti %s -o - | FileCheck --check-prefix=CHECK-NO-RTTI %s
-#if __has_feature(rtti)
+#if __has_feature(cxx_rtti)
int foo();
#else
int bar();
OpenPOWER on IntegriCloud