From 1d870cce68f7033f6d3967ce4e9ba622a6fafe79 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 10 May 2019 11:32:59 -0700 Subject: [PATCH] Fix bot Any way to catch these? --- src/test-meta.cc | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/test-meta.cc b/src/test-meta.cc index 716e99cd7..6fb8e4f19 100644 --- a/src/test-meta.cc +++ b/src/test-meta.cc @@ -80,19 +80,19 @@ main (int argc, char **argv) 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 (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 (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 (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; }