r192738 - Remove this regression test now that PR17578 is fixed (r192674). The fix is to

Yunzhong Gao Yunzhong_Gao at playstation.sony.com
Tue Oct 15 14:33:03 PDT 2013


Author: ygao
Date: Tue Oct 15 16:33:02 2013
New Revision: 192738

URL: http://llvm.org/viewvc/llvm-project?rev=192738&view=rev
Log:
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.


Removed:
    cfe/trunk/test/CodeGenCXX/offsetof.cpp

Removed: cfe/trunk/test/CodeGenCXX/offsetof.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/offsetof.cpp?rev=192737&view=auto
==============================================================================
--- cfe/trunk/test/CodeGenCXX/offsetof.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/offsetof.cpp (removed)
@@ -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);
-}





More information about the cfe-commits mailing list