diff options
Diffstat (limited to 'Tests/CxxDialect/use_constexpr.cxx')
-rw-r--r-- | Tests/CxxDialect/use_constexpr.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/CxxDialect/use_constexpr.cxx b/Tests/CxxDialect/use_constexpr.cxx new file mode 100644 index 0000000..30ccc4c --- /dev/null +++ b/Tests/CxxDialect/use_constexpr.cxx @@ -0,0 +1,10 @@ + +constexpr int foo() +{ + return 0; +} + +int main(int argc, char**) +{ + return foo(); +} |