This commit is contained in:
Stephen M. McQuay 2012-05-05 11:23:48 -06:00
parent bab12f4652
commit de20fd4ff3

12
constexpr.cc Normal file
View File

@ -0,0 +1,12 @@
#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;
}