From de20fd4ff396a6e894d87b7166833651f9b551a0 Mon Sep 17 00:00:00 2001 From: "Stephen M. McQuay" Date: Sat, 5 May 2012 11:23:48 -0600 Subject: [PATCH] oops --- constexpr.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 constexpr.cc diff --git a/constexpr.cc b/constexpr.cc new file mode 100644 index 0000000..37a32a5 --- /dev/null +++ b/constexpr.cc @@ -0,0 +1,12 @@ +#include +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; +}