OSDN Git Service

* gcc.dg/dwarf2-1.c: New test.
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 May 2000 21:07:15 +0000 (21:07 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 May 2000 21:07:15 +0000 (21:07 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34089 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/dwarf2-1.c [new file with mode: 0644]

index 7f9a767..179e7bf 100644 (file)
@@ -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 (file)
index 0000000..59ec7b6
--- /dev/null
@@ -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 ();
+}