gcc/testsuite/gcc.dg/lto/20100108_0.c
raw| 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. */ |
| 6 | |
| 7 | extern int flag_exceptions; |
| 8 | static int *foo = &flag_exceptions; |
| 9 | int **bar = &foo; |