rs6000: Correct the function code for _AMO_LD_DEC_BOUNDED
[official-gcc.git] / gcc / testsuite / g++.dg / abi / anon6a.C
blob69c9adb425699ffe2b44003910370f79b9e6c2b5
1 // PR c++/108566
2 // { dg-do compile { target c++20 } }
3 // { dg-additional-options "-fabi-compat-version=0" }
5 template<typename T>
6 struct wrapper1 {
7   union {
8     union {
9       T RightName;
10     };
11   };
14 template<auto tparam> void dummy(){}
16 void uses() {
17   dummy<wrapper1<double>{123.0}>();
20 // { dg-final { scan-assembler "_Z5dummyITnDaXtl8wrapper1IdEtlNS1_Ut_Edi9RightNametlNS2_Ut_Edi9RightNameLd405ec00000000000EEEEEEvv" } }