OSDN Git Service

don't specify -g1
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 Mar 2003 17:35:05 +0000 (17:35 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 Mar 2003 17:35:05 +0000 (17:35 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64411 138bc75d-0d04-0410-961f-82ee72b054a4

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;
+}