1 // { dg-do compile { target c++20 } }
3 [[no_unique_address]] struct B { }; // { dg-warning "attribute" }
4 [[no_unique_address]] int i; // { dg-warning "attribute" }
5 [[no_unique_address]] void f(); // { dg-warning "attribute" }
9 [[no_unique_address]] B b;
10 [[no_unique_address]] void f(); // { dg-warning "attribute" }
11 [[no_unique_address]] static B c; // { dg-warning "attribute" }