From: Richard Smith Date: Fri, 11 Nov 2011 07:10:32 +0000 (+0000) Subject: Don't recurse so deep in this test, pending APValue rework to further reduce the X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6660ae640ad87232a6678d23ac39821347c63bca;p=clang 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 --- 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];