From c5700610647fafc59cef2b5e67633e3625f676c2 Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Sat, 14 Dec 2013 17:04:17 +0000 Subject: [PATCH] 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). llvm-svn: 197326 --- clang/test/CodeGenCXX/2004-03-08-ReinterpretCastCopy.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/clang/test/CodeGenCXX/2004-03-08-ReinterpretCastCopy.cpp b/clang/test/CodeGenCXX/2004-03-08-ReinterpretCastCopy.cpp index b2bb292130b1..e9071b1eb0f0 100644 --- a/clang/test/CodeGenCXX/2004-03-08-ReinterpretCastCopy.cpp +++ b/clang/test/CodeGenCXX/2004-03-08-ReinterpretCastCopy.cpp @@ -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;