From 7d9511b2e33f1981cd846dd2493c6d96ece2c77e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Thu, 6 Apr 2023 12:03:45 +0200 Subject: [PATCH] [clang][Interp] Add missing static_assert messages This broke build bots, e.g: https://lab.llvm.org/buildbot/#/builders/139/builds/38697 --- clang/test/AST/Interp/floats.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/test/AST/Interp/floats.cpp b/clang/test/AST/Interp/floats.cpp index 3b392d3..71f585e 100644 --- a/clang/test/AST/Interp/floats.cpp +++ b/clang/test/AST/Interp/floats.cpp @@ -87,8 +87,8 @@ namespace ZeroInit { }; constexpr A a{12}; - static_assert(a.f == 0.0f); + static_assert(a.f == 0.0f, ""); constexpr A b{12}; - static_assert(a.f == 0.0); + static_assert(a.f == 0.0, ""); }; -- 2.7.4