static_assert(test2()); // { dg-error "is outside the bounds" }
// { dg-prune-output "in 'constexpr' expansion" }
-// { dg-prune-output "failed_assertion" }
+// { dg-prune-output "builtin_unreachable" }
// { dg-prune-output "non-constant condition" }
static_assert(test()); // { dg-error "non-constant condition" }
// { dg-prune-output "in 'constexpr' expansion" }
-// { dg-prune-output "failed_assertion" }
+// { dg-prune-output "builtin_unreachable" }
// { dg-prune-output "non-constant condition" }
// { dg-prune-output "in 'constexpr'" }
-// { dg-prune-output "failed_assertion" }
+// { dg-prune-output "builtin_unreachable" }
static_assert(test()); // { dg-error "" }
-// { dg-prune-output "failed_assertion" }
+// { dg-prune-output "builtin_unreachable" }
// { dg-prune-output "in 'constexpr'" }
static_assert(test()); // { dg-error "" }
-// { dg-prune-output "failed_assertion" }
+// { dg-prune-output "builtin_unreachable" }
// { dg-prune-output "in 'constexpr'" }
static_assert(test2()); // { dg-error "" }
-// { dg-prune-output "failed_assertion" }
+// { dg-prune-output "builtin_unreachable" }
// { dg-prune-output "in 'constexpr'" }
static_assert(test()); // { dg-error "" }
-// { dg-prune-output "failed_assertion" }
+// { dg-prune-output "builtin_unreachable" }
// { dg-prune-output "in 'constexpr'" }
static_assert(test()); // { dg-error "" }
-// { dg-prune-output "failed_assertion" }
+// { dg-prune-output "builtin_unreachable" }
// { dg-prune-output "in 'constexpr'" }
static_assert(test2()); // { dg-error "" }
-// { dg-prune-output "failed_assertion" }
+// { dg-prune-output "builtin_unreachable" }
// { dg-prune-output "in 'constexpr'" }