================
@@ -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:

don't create a new file for such a small fix.  We have plenty of bitint tests 
you could move this to.

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