1 2 3 4 5 6
// PR c++/99507 // { dg-do compile { target c++20 } } constexpr int i{0}; consteval const int &iref () { return i; } const int *a{&iref ()};