r197326 - Add triple to CodeGenCXX/2004-03-08-ReinterpretCastCopy.cpp in MS ABI mode

Hans Wennborg hans at hanshq.net
Sat Dec 14 09:04:18 PST 2013


Author: hans
Date: Sat Dec 14 11:04:17 2013
New Revision: 197326

URL: http://llvm.org/viewvc/llvm-project?rev=197326&view=rev
Log:
Add triple to CodeGenCXX/2004-03-08-ReinterpretCastCopy.cpp in MS ABI mode

I don't think we should need a triple, but this allows us to run the test
until we fix it (PR18251).

Modified:
    cfe/trunk/test/CodeGenCXX/2004-03-08-ReinterpretCastCopy.cpp

Modified: cfe/trunk/test/CodeGenCXX/2004-03-08-ReinterpretCastCopy.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/2004-03-08-ReinterpretCastCopy.cpp?rev=197326&r1=197325&r2=197326&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/2004-03-08-ReinterpretCastCopy.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/2004-03-08-ReinterpretCastCopy.cpp Sat Dec 14 11:04:17 2013
@@ -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;





More information about the cfe-commits mailing list