================
@@ -0,0 +1,4 @@
+// RUN: %%clang_cc1 -ffixed-point -fsyntax-only -verify %%s 
+
+constexpr _BitInt(128) i = 42; 
+static_assert(i == 42.0k); // expected-error {{invalid operands to binary 
expression}} 
----------------
erichkeane wrote:

`ext_int.cpp` and seems to be where we do most of our bit int type conversion 
checking.  please try forms not inside of a constant expression as well.

https://github.com/llvm/llvm-project/pull/199912
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to