testsuite: update mangling
[official-gcc.git] / gcc / testsuite / g++.dg / cpp2a / no_unique_address7.C
blobedd82d1ecccca08fe17b2caf912be42b028aa837
1 // PR c++/93711
2 // { dg-do compile { target c++11 } }
4 struct A { A(const A&) = delete; };
6 A f();
8 struct C
10   [[no_unique_address]] A a;
13 C c{f()};                       // { dg-error "deleted" }