blob: feb77afba0101fec46dcb6cb59b8fa8ae09d96fd [file] [log] [blame]
// { dg-do compile { target c++11 } }
#if __cpp_consteval >= 201811L
consteval
#else
constexpr
#endif
int
foo (int x)
{
return x * x * x * x;
}
auto a = foo (2);