URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [is_base_of_incomplete.C] - Rev 693
Compare with Previous | Blame | View Log
// 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];