OSDN Git Service

2005-09-23 Frank Ch. Eigler <fche@elastic.org>
authorfche <fche@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Sep 2005 21:35:17 +0000 (21:35 +0000)
committerfche <fche@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Sep 2005 21:35:17 +0000 (21:35 +0000)
* testsuite/libmudflap.c++/pass58-frag.cxx: New test for heisenbug 19319.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104587 138bc75d-0d04-0410-961f-82ee72b054a4

libmudflap/ChangeLog
libmudflap/testsuite/libmudflap.c++/pass58-frag.cxx [new file with mode: 0644]

index 537c260..8e39874 100644 (file)
@@ -1,3 +1,7 @@
+2005-09-23  Frank Ch. Eigler  <fche@elastic.org>
+
+       * testsuite/libmudflap.c++/pass58-frag.cxx: New test for heisenbug 19319.
+
 2005-09-23  Tom Tromey  <tromey@redhat.com>
 
        * aclocal.m4, configure: Rebuilt.
diff --git a/libmudflap/testsuite/libmudflap.c++/pass58-frag.cxx b/libmudflap/testsuite/libmudflap.c++/pass58-frag.cxx
new file mode 100644 (file)
index 0000000..96da05f
--- /dev/null
@@ -0,0 +1,12 @@
+// PR 19319
+struct k {
+  int data;
+  k(int j): data(j) {}
+};
+k make_k () { return k(1); }
+
+int main ()
+{
+  k foo = make_k ();
+  return 0;
+}