aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/dwarf2-2.c
blob: 82e5d8de9bbec6d76848883dc04c7583650a4767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do compile } */
/* { dg-options "-O -g" } */

/* Copyright (C) 2000  Free Software Foundation  */
/* Contributed by Alexandre Oliva <aoliva@redhat.com> */

inline double fx (double x)
{
  return 3 * x;
}

main ()
{
  double a = 0, fx (double), foo ();
  fx (a);
  if (a != 3)
    foo ();
}