aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@cygnus.com>2000-05-22 21:07:15 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2000-05-22 21:07:15 +0000
commit38285a09a55da0705355bb6cd95b13da14500d61 (patch)
treed758bc5d70d665740e0b794b3d4ee848286b6b63 /gcc
parent11a6e9a7dd748de0bff07728dab35ac433aa8928 (diff)
downloadgcc-38285a09a55da0705355bb6cd95b13da14500d61.zip
gcc-38285a09a55da0705355bb6cd95b13da14500d61.tar.gz
gcc-38285a09a55da0705355bb6cd95b13da14500d61.tar.bz2
* gcc.dg/dwarf2-1.c: New test.
From-SVN: r34089
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/dwarf2-1.c12
2 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 7f9a767..179e7bf 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-22 Alexandre Oliva <aoliva@cygnus.com>
+
+ * gcc.dg/dwarf2-1.c: New test.
+
2000-05-20 Richard Henderson <rth@cygnus.com>
* lib/f-torture.exp (TORTURE_OPTIONS): Add "-O3 -g" and "-O3 -fssa".
diff --git a/gcc/testsuite/gcc.dg/dwarf2-1.c b/gcc/testsuite/gcc.dg/dwarf2-1.c
new file mode 100644
index 0000000..59ec7b6
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/dwarf2-1.c
@@ -0,0 +1,12 @@
+/* { dg-do compile } */
+/* { dg-options "-O3 -gdwarf-2" } */
+
+/* Copyright (C) 2000 Free Software Foundation */
+/* Contributed by Alexandre Oliva <aoliva@cygnus.com> */
+
+static int foo () {}
+
+int bar () {
+ int foo ();
+ int foo ();
+}