pass58-frag.cxx: New test for heisenbug 19319.

2005-09-23  Frank Ch. Eigler  <fche@elastic.org>

	* testsuite/libmudflap.c++/pass58-frag.cxx: New test for heisenbug 19319.

From-SVN: r104587
This commit is contained in:
Frank Ch. Eigler 2005-09-23 21:35:17 +00:00 committed by Frank Ch. Eigler
parent 1ea63ef8be
commit 337dc8ca5e
2 changed files with 16 additions and 0 deletions

View 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.

View File

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