2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr36400.c
blobbd9f35a5f762111761058d8887f3f6f3bbfb1766
1 /* { dg-do compile } */
3 struct barstruct { char const* some_string; };
5 void changethepointer(struct barstruct***);
7 void baz()
9 struct barstruct bar1;
10 struct barstruct* barptr = &bar1;
11 struct barstruct** barptr2 = &barptr;
12 changethepointer(&barptr2);
13 barptr->some_string = "Everything OK";
16 /* { dg-final { scan-assembler "Everything OK" } } */