We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
is_pointer_interconvertible_base_of
1 parent 910ec6f commit cbfcfdfCopy full SHA for cbfcfdf
clang/test/SemaCXX/type-traits.cpp
@@ -1864,6 +1864,7 @@ void is_pointer_interconvertible_base_of(int n)
1864
static_assert(!__is_pointer_interconvertible_base_of(Base2, Derived));
1865
static_assert(__is_pointer_interconvertible_base_of(Base, DerivedIndirect));
1866
static_assert(__is_pointer_interconvertible_base_of(Base, DerivedMultiple));
1867
+ static_assert(__is_pointer_interconvertible_base_of(Base2, DerivedMultiple));
1868
static_assert(!__is_pointer_interconvertible_base_of(Base3, DerivedMultiple));
1869
static_assert(!__is_pointer_interconvertible_base_of(Base, DerivedAmbiguous));
1870
static_assert(__is_pointer_interconvertible_base_of(Base, DerivedPrivate));
0 commit comments