gcc/testsuite/g++.dg/lto/20091026-1_0.C
raw| 1 | // { dg-lto-do link } |
| 2 | // Explicit { dg-require-effective-target exceptions_enabled } so that dependent tests don't turn UNRESOLVED for '-fno-exceptions'. |
| 3 | // { dg-extra-ld-options "-r -nostdlib -flinker-output=nolto-rel" } |
| 4 | |
| 5 | #include "20091026-1_a.h" |
| 6 | cObject *cHead::find(const char *objname) const |
| 7 | { |
| 8 | return firstchildp; |
| 9 | } |
| 10 | class cNetworkType : public cObject { }; |
| 11 | cNetworkType *networktype; |
| 12 |