don't specify -g1
authorJason Merrill <jason@gcc.gnu.org>
Sat, 15 Mar 2003 17:35:05 +0000 (12:35 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 15 Mar 2003 17:35:05 +0000 (12:35 -0500)
From-SVN: r64411

gcc/testsuite/g++.dg/debug/minimal1.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.dg/debug/minimal1.C b/gcc/testsuite/g++.dg/debug/minimal1.C
new file mode 100644 (file)
index 0000000..c2daa0f
--- /dev/null
@@ -0,0 +1,7 @@
+// PR debug/6387
+// Verify that -g1 works with local class member functions.
+
+void foo();
+void bar() {
+  struct A { A() { foo(); } } a;
+}