CMake/Tests/CxxDialect/use_constexpr_and_typeof.cxx

12 lines
111 B
C++

constexpr int foo()
{
return 0;
}
int main(int argc, char**)
{
typeof(argc) ret = foo();
return ret;
}