diff options
author | Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de> | 2016-02-12 07:48:28 +0000 |
---|---|---|
committer | Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de> | 2016-02-12 07:48:28 +0000 |
commit | 91924a6f636046c074c8fca82979155b7d48de28 (patch) | |
tree | 2782b4087c058064c57f70bcb961691c1815c64b /clang/unittests/libclang/LibclangTest.cpp | |
parent | 296b849163d3f3ed0c342c71c3d5800accda438c (diff) | |
download | llvm-91924a6f636046c074c8fca82979155b7d48de28.zip llvm-91924a6f636046c074c8fca82979155b7d48de28.tar.gz llvm-91924a6f636046c074c8fca82979155b7d48de28.tar.bz2 |
tests: Add explicit -stdlib=libstdc++ to tests that require it
This will be needed for the next commit that allows to switch the default
C++ library which would otherwise make these tests fail.
llvm-svn: 260661
Diffstat (limited to 'clang/unittests/libclang/LibclangTest.cpp')
-rw-r--r-- | clang/unittests/libclang/LibclangTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/libclang/LibclangTest.cpp b/clang/unittests/libclang/LibclangTest.cpp index e190dec..d5c7827 100644 --- a/clang/unittests/libclang/LibclangTest.cpp +++ b/clang/unittests/libclang/LibclangTest.cpp @@ -485,7 +485,7 @@ TEST_F(LibclangReparseTest, clang_parseTranslationUnit2FullArgv) { WriteFile(Clang, ""); const char *Argv[] = {Clang.c_str(), "-target", "arm-linux-gnueabi", - "--gcc-toolchain="}; + "-stdlib=libstdc++", "--gcc-toolchain="}; EXPECT_EQ(CXError_Success, clang_parseTranslationUnit2FullArgv(Index, Filename.c_str(), Argv, |