================
@@ -31,6 +31,13 @@ static_assert(b, "");
 constexpr int one = true;
 static_assert(one == 1, "");
 
+constexpr bool b2 = bool();
----------------
shafik wrote:

There are a lot of scalars: https://eel.is/c++draft/basic.types.general#9

Can we have a test for each case?

https://github.com/llvm/llvm-project/pull/67147
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to