struct Y : X {};
- static_assert (hb_is_base_of (void, void));
- static_assert (hb_is_base_of (void, int));
- static_assert (!hb_is_base_of (int, void));
-
- static_assert (hb_is_base_of (int, int));
- static_assert (hb_is_base_of (const int, int));
- static_assert (hb_is_base_of (int, const int));
-
- static_assert (hb_is_base_of (X, X));
- static_assert (hb_is_base_of (X, Y));
- static_assert (hb_is_base_of (const X, Y));
- static_assert (hb_is_base_of (X, const Y));
- static_assert (!hb_is_base_of (Y, X));
+ static_assert (hb_is_base_of (void, void), "");
+ static_assert (hb_is_base_of (void, int), "");
+ static_assert (!hb_is_base_of (int, void), "");
+
+ static_assert (hb_is_base_of (int, int), "");
+ static_assert (hb_is_base_of (const int, int), "");
+ static_assert (hb_is_base_of (int, const int), "");
+
+ static_assert (hb_is_base_of (X, X), "");
+ static_assert (hb_is_base_of (X, Y), "");
+ static_assert (hb_is_base_of (const X, Y), "");
+ static_assert (hb_is_base_of (X, const Y), "");
+ static_assert (!hb_is_base_of (Y, X), "");
return 0;
}