* gcc.dg/dwarf2-2.c: New test.
From-SVN: r36000
This commit is contained in:
parent
6aaeb97551
commit
721a9f8e29
@ -1,3 +1,7 @@
|
||||
2000-08-26 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* gcc.dg/dwarf2-2.c: New test.
|
||||
|
||||
2000-08-26 Zack Weinberg <zack@wolery.cumb.org>
|
||||
|
||||
* gcc.dg/cpp/tr-warn4.c: Remove unconstrained .* from
|
||||
|
18
gcc/testsuite/gcc.dg/dwarf2-2.c
Normal file
18
gcc/testsuite/gcc.dg/dwarf2-2.c
Normal file
@ -0,0 +1,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 ();
|
||||
}
|
Loading…
Reference in New Issue
Block a user