From 601e9d3c979fab5602f34ea08932cde43893e2c0 Mon Sep 17 00:00:00 2001 From: Yunzhong Gao Date: Tue, 15 Oct 2013 21:33:02 +0000 Subject: [PATCH] Remove this regression test now that PR17578 is fixed (r192674). The fix is to reject this test case at the Sema stage, so no CodeGen test should be needed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192738 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenCXX/offsetof.cpp | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 test/CodeGenCXX/offsetof.cpp diff --git a/test/CodeGenCXX/offsetof.cpp b/test/CodeGenCXX/offsetof.cpp deleted file mode 100644 index 7e257e6af9..0000000000 --- a/test/CodeGenCXX/offsetof.cpp +++ /dev/null @@ -1,14 +0,0 @@ -// RUN: %clang_cc1 -emit-llvm -x c++ < %s -// XFAIL: * - -// PR17578 -struct Base { - int a; -}; -struct Derived : virtual Base -{}; - -void foo() -{ - int xx = __builtin_offsetof(Derived, a); -} -- 2.40.0