1 /* { dg-lto-do run } */
2 /* { dg-extra-ld-options { -w } } */
4 /* ??? lto.exp does not allow to scan for
5 :1:12: warning: type of 'x' does not match original declaration
8 :1:5: note: previously declared here
13 int *foo
[] = { &x
[0] };
15 int main() { return *foo
[0]; }