summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/inject-templated-friend-post.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2012-08-30 02:08:31 +0000
committerNico Weber <nicolasweber@gmx.de>2012-08-30 02:08:31 +0000
commit723b4f02a71a5c74c355cbe5f502c206b86824a5 (patch)
treed2fa0bd543f0d9e9337d6b5101dab4df89386305 /clang/test/SemaTemplate/inject-templated-friend-post.cpp
parent077a53e5ab1d8e194aa02d7ca2ce3f646af0be9f (diff)
downloadbcm5719-llvm-723b4f02a71a5c74c355cbe5f502c206b86824a5.tar.gz
bcm5719-llvm-723b4f02a71a5c74c355cbe5f502c206b86824a5.zip
Reland r160052: Default to -std=c++11 on Windows.
Also update the tests that rely on c++98 to explicitly mention that. llvm-svn: 162890
Diffstat (limited to 'clang/test/SemaTemplate/inject-templated-friend-post.cpp')
-rw-r--r--clang/test/SemaTemplate/inject-templated-friend-post.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/SemaTemplate/inject-templated-friend-post.cpp b/clang/test/SemaTemplate/inject-templated-friend-post.cpp
index 39c445ca0f9..c86f718bb5f 100644
--- a/clang/test/SemaTemplate/inject-templated-friend-post.cpp
+++ b/clang/test/SemaTemplate/inject-templated-friend-post.cpp
@@ -1,7 +1,7 @@
-// RUN: %clang %s -S -emit-llvm -o - | grep -e "define linkonce_odr.*_ZlsR11std_ostreamRK8StreamerI3FooE"
-// RUN: %clang %s -S -emit-llvm -o - -DPROTOTYPE | grep -e "define linkonce_odr.*_ZlsR11std_ostreamRK8StreamerI3FooE"
-// RUN: %clang %s -S -emit-llvm -o - -DINSTANTIATE | grep -e "define linkonce_odr.*_ZlsR11std_ostreamRK8StreamerI3FooE"
-// RUN: %clang %s -S -emit-llvm -o - -DPROTOTYPE -DINSTANTIATE | grep -e "define linkonce_odr.*_ZlsR11std_ostreamRK8StreamerI3FooE"
+// RUN: %clang %s -std=c++98 -S -emit-llvm -o - | grep -e "define linkonce_odr.*_ZlsR11std_ostreamRK8StreamerI3FooE"
+// RUN: %clang %s -std=c++98 -S -emit-llvm -o - -DPROTOTYPE | grep -e "define linkonce_odr.*_ZlsR11std_ostreamRK8StreamerI3FooE"
+// RUN: %clang %s -std=c++98 -S -emit-llvm -o - -DINSTANTIATE | grep -e "define linkonce_odr.*_ZlsR11std_ostreamRK8StreamerI3FooE"
+// RUN: %clang %s -std=c++98 -S -emit-llvm -o - -DPROTOTYPE -DINSTANTIATE | grep -e "define linkonce_odr.*_ZlsR11std_ostreamRK8StreamerI3FooE"
// RUN: %clang_cc1 %s -DREDEFINE -verify
// RUN: %clang_cc1 %s -DPROTOTYPE -DREDEFINE -verify
// PR8007: friend function not instantiated, reordered version.
OpenPOWER on IntegriCloud