================
@@ -162,7 +162,7 @@ const int V35 = 2;
constexpr int V36 = V33 / V34;
// expected-error@-1 {{constexpr variable 'V36' must be initialized by a
constant expression}}
-constexpr int V37 = V33 / V35;
+constexpr int V37 = V33 / V35; // expected-warning {{expression is not an
integer constant expression}}
// expected-error@-1 {{constexpr variable 'V37' must be initialized by a
constant expression}}
----------------
nickdesaulniers wrote:
seems duplicative
https://github.com/llvm/llvm-project/pull/212559
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits