]> granicus.if.org Git - clang/commitdiff
Remove this regression test now that PR17578 is fixed (r192674). The fix is to
authorYunzhong Gao <Yunzhong_Gao@playstation.sony.com>
Tue, 15 Oct 2013 21:33:02 +0000 (21:33 +0000)
committerYunzhong Gao <Yunzhong_Gao@playstation.sony.com>
Tue, 15 Oct 2013 21:33:02 +0000 (21:33 +0000)
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 [deleted file]

diff --git a/test/CodeGenCXX/offsetof.cpp b/test/CodeGenCXX/offsetof.cpp
deleted file mode 100644 (file)
index 7e257e6..0000000
+++ /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);
-}