Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/lto/20091026-1_0.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 // { dg-lto-do link } |
131 | 2 // { dg-extra-ld-options "-r -nostdlib -flinker-output=nolto-rel" } |
111 | 3 |
4 #include "20091026-1_a.h" | |
5 cObject *cHead::find(const char *objname) const | |
6 { | |
7 return firstchildp; | |
8 } | |
9 class cNetworkType : public cObject { }; | |
10 cNetworkType *networktype; | |
11 |