1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only %s
2 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -fexperimental-new-constant-interpreter %s
4 constexpr unsigned oddfac(unsigned n
) {
5 return n
== 1 ? 1 : n
* oddfac(n
-2);
7 constexpr unsigned k
= oddfac(123);
9 using A
= int[k
% 256];