Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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" }
};