From: Yunzhong Gao Date: Tue, 15 Oct 2013 21:33:02 +0000 (+0000) Subject: Remove this regression test now that PR17578 is fixed (r192674). The fix is to X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=601e9d3c979fab5602f34ea08932cde43893e2c0;p=clang 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 --- 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); -}