Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/lto/pr64415_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 } */ |
2 /* { dg-require-effective-target fpic } */ | |
3 /* { dg-require-effective-target shared } */ | |
4 /* { dg-lto-options { { -O -flto -fpic } } } */ | |
5 /* { dg-extra-ld-options { -shared } } */ | |
6 /* { dg-extra-ld-options "-Wl,-undefined,dynamic_lookup" { target *-*-darwin* } } */ | |
7 | |
8 extern void bar(char *, int); | |
9 | |
10 extern char *baz; | |
11 | |
12 void foo() | |
13 { | |
14 bar(baz, 0); | |
15 } |