blob: fd021eb1cd15cd9984e3f091dc2725c0278e9b8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* { dg-lto-options {{-O3 -flto -flto-partition=1to1}} } */
/* Test that cross-TU inlining works. */
extern void abort ();
extern void exit (int);
extern void *foo (void);
int
main ()
{
if (foo () != __builtin_return_address (0))
abort ();
exit (0);
}
|