]> granicus.if.org Git - clang/commitdiff
Add triple to CodeGenCXX/2004-03-08-ReinterpretCastCopy.cpp in MS ABI mode
authorHans Wennborg <hans@hanshq.net>
Sat, 14 Dec 2013 17:04:17 +0000 (17:04 +0000)
committerHans Wennborg <hans@hanshq.net>
Sat, 14 Dec 2013 17:04:17 +0000 (17:04 +0000)
I don't think we should need a triple, but this allows us to run the test
until we fix it (PR18251).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197326 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/2004-03-08-ReinterpretCastCopy.cpp

index b2bb292130b1a9fa238dfd610e6e70b4cbd057c8..e9071b1eb0f0a25083a9c2b1ac5e5e048c6b27e2 100644 (file)
@@ -1,5 +1,7 @@
 // RUN: %clang_cc1 -cxx-abi itanium -emit-llvm %s -o -
-// RUN: %clang_cc1 -cxx-abi microsoft -fno-rtti -emit-llvm %s -o -
+
+// FIXME: Don't assert for non-Win32 triples (PR18251).
+// RUN: %clang_cc1 -triple i686-pc-win32 -cxx-abi microsoft -fno-rtti -emit-llvm %s -o -
 
 struct A {
   virtual void Method() = 0;