diff options
author | Charles Li <charles.li@sony.com> | 2017-02-17 19:36:19 +0000 |
---|---|---|
committer | Charles Li <charles.li@sony.com> | 2017-02-17 19:36:19 +0000 |
commit | 0ee7c63fd749961c4edb885e39b86f82ecf83c8a (patch) | |
tree | c79866b501fc604499dc36cdca319d09d7b89add /clang/test/CodeGenCXX/mangle-unnamed.cpp | |
parent | 647c1685b60e42332c33a760745c2dd85ed76ee8 (diff) | |
download | bcm5719-llvm-0ee7c63fd749961c4edb885e39b86f82ecf83c8a.tar.gz bcm5719-llvm-0ee7c63fd749961c4edb885e39b86f82ecf83c8a.zip |
[Test] Make Lit tests C++11 compatible - misc
Updated 5 tests.
Differential Revision: https://reviews.llvm.org/D24812
llvm-svn: 295484
Diffstat (limited to 'clang/test/CodeGenCXX/mangle-unnamed.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/mangle-unnamed.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/mangle-unnamed.cpp b/clang/test/CodeGenCXX/mangle-unnamed.cpp index 43b7bd79537..c90f47b26e7 100644 --- a/clang/test/CodeGenCXX/mangle-unnamed.cpp +++ b/clang/test/CodeGenCXX/mangle-unnamed.cpp @@ -48,6 +48,7 @@ int f5() { return a; } +#if __cplusplus <= 199711L int f6() { static union { union { @@ -56,9 +57,10 @@ int f6() { int b; }; - // CHECK: _ZZ2f6vE1b + // CXX98: _ZZ2f6vE1b return b; } +#endif int f7() { static union { |