summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr39013-1.c
blob: 25f02fcdba65007dc047803c7ec6d190e031f7ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR target/39013 */
/* { dg-do compile { target *-*-linux* } } */
/* { dg-options "-O2 -fpie -std=gnu89" } */

inline int foo (void);
extern inline int bar (void);

int
main (void)
{
  return foo () + bar ();
}

/* { dg-final { scan-assembler "foo@PLT" } } */
/* { dg-final { scan-assembler "bar@PLT" } } */