aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/SemaCXX/constexpr-factorial.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaCXX/constexpr-factorial.cpp b/test/SemaCXX/constexpr-factorial.cpp
index 55ac8f26fb..b6cdde59d3 100644
--- a/test/SemaCXX/constexpr-factorial.cpp
+++ b/test/SemaCXX/constexpr-factorial.cpp
@@ -3,7 +3,7 @@
constexpr unsigned oddfac(unsigned n) {
return n == 1 ? 1 : n * oddfac(n-2);
}
-constexpr unsigned k = oddfac(999);
+constexpr unsigned k = oddfac(123);
using A = int[k % 256];
-using A = int[73];
+using A = int[43];