aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2011-11-11 07:10:32 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2011-11-11 07:10:32 +0000
commit6660ae640ad87232a6678d23ac39821347c63bca (patch)
treec3bc96cf8d11919b1c9498d104b3dba29c78f9a7
parentcd99b072e8b32075da6233cbf14ea58a5c82de4f (diff)
Don't recurse so deep in this test, pending APValue rework to further reduce the
stack pressure. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144378 91177308-0d34-0410-b5e6-96231b3b80d8
-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];