================
@@ -313,6 +313,12 @@ constexpr int *V84 = 42;
constexpr int *V85 = nullptr;
constexpr int *V91 = 0.;
// both-error@-1 {{initializing 'int *const' with an expression of
incompatible type 'double'}}
+constexpr int *V92 = 0.0f;
----------------
tbaederr wrote:
> BTW, @tbaederr , I don't have any context but test/AST/ByteCode/constexpr.c
> looks suspiciously similar to Sema/constexpr.c . Given that Sema/constexpr.c
> also runs the new interpreter now, can we remove
> test/AST/ByteCode/constexpr.c ?
Yes, looks like it.
https://github.com/llvm/llvm-project/pull/181965
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits