blob: 7e257e6af9f350b0d9646d0f83d92bd9f9a72d57 [file] [log] [blame]
// 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);
}