☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
is_base_of_incomplete.C
☽
☼
gcc/testsuite/g++.dg/ext/is_base_of_incomplete.C
code
plain
raw
1
// PR c++/50732
2
3
template <typename T>
4
struct non_instantiable
5
{
6
typedef typename T::THIS_TYPE_CANNOT_BE_INSTANTIATED type;
7
};
8
9
int check[__is_base_of(non_instantiable<int>, void) ? -1 : 1];