cpp11/constexpr.cc
Stephen M. McQuay de20fd4ff3 oops
2012-05-05 11:23:48 -06:00

13 lines
183 B
C++

#include <iostream>
using namespace std;
int some_constant_func() {
return 41;
}
int my_int_arr[some_constant_func() + 1];
int main(int argc, char * argv []) {
return 0;
}