Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
is_base_of_incomplete.C
blob: 4704ff5dee123049ce4595f3bd3d1e875f9a8630 [
file
] [
log
] [
blame
]
// PR c++/50732
template
<
typename
T
>
struct
non_instantiable
{
typedef
typename
T
::
THIS_TYPE_CANNOT_BE_INSTANTIATED type
;
};
int
check
[
__is_base_of
(
non_instantiable
<int>
,
void
)
?
-
1
:
1
];