Merged revision 156805 into branch.
[official-gcc.git] / gcc / testsuite / gcc.dg / lto / 20100108_0.c
blob73f44ec05bec9500472981f0b0c74b748ec9b6ae
1 /* { dg-lto-do assemble } */
2 /* The problem with this testcase is that we were missing an undefined
3 reference to flag_exceptions. This can be tested with
4 GNUTARGET=plugin nm --plugin liblto_plugin.so 20100108_0.o
5 but we don't have support in the testsuite for doing it. */
7 extern int flag_exceptions;
8 static int *foo = &flag_exceptions;
9 int **bar = &foo;