summaryrefslogtreecommitdiffstats
path: root/clang/unittests/AST/ASTImporterTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/AST/ASTImporterTest.cpp')
-rw-r--r--clang/unittests/AST/ASTImporterTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/unittests/AST/ASTImporterTest.cpp b/clang/unittests/AST/ASTImporterTest.cpp
index 44f95828415..41134f96efe 100644
--- a/clang/unittests/AST/ASTImporterTest.cpp
+++ b/clang/unittests/AST/ASTImporterTest.cpp
@@ -40,10 +40,10 @@ static RunOptions getRunOptionsForLanguage(Language Lang) {
BasicArgs = {"-x", "c", "-std=c89"};
break;
case Lang_CXX:
- BasicArgs = {"-std=c++98"};
+ BasicArgs = {"-std=c++98", "-frtti"};
break;
case Lang_CXX11:
- BasicArgs = {"-std=c++11"};
+ BasicArgs = {"-std=c++11", "-frtti"};
break;
case Lang_OpenCL:
case Lang_OBJCXX:
OpenPOWER on IntegriCloud