Debian Codegraph @

gcc/testsuite/g++.dg/ext/is_base_of_incomplete.C

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];