We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
constexpr int f() { int &a = a; return &a+1-&a; } constexpr int z = f();
Currently accepted with -std=c++23. Should be rejected: the pointer arithmetic is nonsense.
CC @shafik @frederick-vs-ja