cpp11/constexpr.cc

13 lines
183 B
C++
Raw Normal View History

2012-05-05 10:23:48 -07:00
#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;
}