comparison gcc/testsuite/gcc.dg/guality/nrv-1.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
15 { 15 {
16 struct A a2; 16 struct A a2;
17 a2.i[0] = 42; 17 a2.i[0] = 42;
18 if (a3.i[0] != 0) 18 if (a3.i[0] != 0)
19 abort (); 19 abort ();
20 a2.i[4] = 7; /* { dg-final { gdb-test 20 "a2.i\[0\]" "42" } } */ 20 a2.i[4] = 7; /* { dg-final { gdb-test . "a2.i\[0\]" "42" } } */
21 return a2; 21 return a2;
22 } 22 }
23 23
24 int 24 int
25 main () 25 main ()