Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
builtin-offsetof4.C
blob: b30c31dbfa9977eefe56d5ab8cde036456a097b8 [
file
] [
log
] [
blame
]
// PR c++/89331
class
A
{
public
:
char
a
;
};
class
B
:
public
A
{
public
:
static
const
unsigned
b
=
__builtin_offsetof
(
B
,
a
);
// { dg-error "incomplete" }
};