comparison gcc/testsuite/g++.dg/abi/abi-tag18a.C @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
9 inline namespace __test2 __attribute__((abi_tag)) { struct A2 { }; } 9 inline namespace __test2 __attribute__((abi_tag)) { struct A2 { }; }
10 inline A1 f() { 10 inline A1 f() {
11 struct T { 11 struct T {
12 A2 g() { 12 A2 g() {
13 static X x; 13 static X x;
14 return A2();
14 } 15 }
15 }; 16 };
16 T().g(); 17 T().g();
18 return A1();
17 } 19 }
18 int main() { 20 int main() {
19 f(); 21 f();
20 } 22 }