prog.cpp: In function ‘constexpr int test1(int)’:
prog.cpp:9:2: error: non-constant condition for static assertion
static_assert(k < 100, "");
^
prog.cpp:9:2: error: ‘k’ is not a constant expression
prog.cpp: In function ‘int main()’:
prog.cpp:15:29: warning: unused variable ‘pppp’ [-Wunused-variable]
std::array<int, test1(50)> pppp;
^