Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.4.0
/
gcc
/
testsuite
/
g++.dg
/
ext
/
is_base_of_diagnostic.C
blob: 8cb1ce38f635d2f0f16064d607dcc7c6c1e4f81d [
file
] [
log
] [
blame
]
class
A
{
};
class
B
;
union
C
{
};
union
D
;
void
f
()
{
__is_base_of
(
A
,
B
);
// { dg-error "incomplete type" }
__is_base_of
(
C
,
D
);
}