summaryrefslogtreecommitdiff
path: root/test/SemaTemplate/inject-templated-friend.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-01-13 19:48:13 +0000
committerHans Wennborg <hans@hanshq.net>2014-01-13 19:48:13 +0000
commit8bba0059bf07a3061a0ac51b494459a85fd78414 (patch)
tree5e107ed045eac21b10156c097401a7221d509bed /test/SemaTemplate/inject-templated-friend.cpp
parent47ee1fd3e04ba3e2fa42082a3d68f46506cc49a1 (diff)
downloadclang-8bba0059bf07a3061a0ac51b494459a85fd78414.tar.gz
Update tests in preparation for using the MS ABI for Win32 targets
In preparation for making the Win32 triple imply MS ABI mode, make all tests pass in this mode, or make them use the Itanium mode explicitly. Differential Revision: http://llvm-reviews.chandlerc.com/D2401 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaTemplate/inject-templated-friend.cpp')
-rw-r--r--test/SemaTemplate/inject-templated-friend.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/SemaTemplate/inject-templated-friend.cpp b/test/SemaTemplate/inject-templated-friend.cpp
index 7be613b6d3..037d66754d 100644
--- a/test/SemaTemplate/inject-templated-friend.cpp
+++ b/test/SemaTemplate/inject-templated-friend.cpp
@@ -1,7 +1,9 @@
-// RUN: %clang %s -S -emit-llvm -o - | grep -e "define linkonce_odr.*_ZlsR11std_ostreamRK8StreamerI3FooE"
+// RUN: %clang_cc1 %s -emit-llvm -cxx-abi itanium -o - | FileCheck %s
// RUN: %clang_cc1 %s -DREDEFINE -verify
// PR8007: friend function not instantiated.
+// CHECK: define linkonce_odr{{.*}}_ZlsR11std_ostreamRK8StreamerI3FooE
+
struct std_ostream
{
int dummy;