1 /* { dg-do compile } */
2 /* { dg-options "-ffat-lto-objects" } */
4 struct barstruct
{ char const* some_string
; };
6 void changethepointer(struct barstruct
***);
10 struct barstruct bar1
;
11 struct barstruct
* barptr
= &bar1
;
12 struct barstruct
** barptr2
= &barptr
;
13 changethepointer(&barptr2
);
14 barptr
->some_string
= "Everything OK";
17 /* { dg-final { scan-assembler "Everything OK" { xfail nvptx-*-* pdp11-*-* } } } */