blob: 8c99ffbc4c11ef3ca0f09ae42b8b759b9d3fecba [file] [log] [blame]
// PR c++/80095
// { dg-do compile { target c++14 } }
struct A
{
void* p = this;
};
void
foo ()
{
const A& a = A{};
A&& a2 = A{};
const A& a3{};
A&& a4{};
}