diff options
author | fche <fche@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-09-23 21:35:17 +0000 |
---|---|---|
committer | fche <fche@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-09-23 21:35:17 +0000 |
commit | ff49714f35d79d03b0ba4faf145cdf2c584ae11b (patch) | |
tree | 5eb3886583a254534df6fa104411711665cb7377 /libmudflap/testsuite | |
parent | 947b8814056ea2fba6bbcfab86591f74bffc0311 (diff) | |
download | gcc-ff49714f35d79d03b0ba4faf145cdf2c584ae11b.tar.gz |
2005-09-23 Frank Ch. Eigler <fche@elastic.org>
* 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
Diffstat (limited to 'libmudflap/testsuite')
-rw-r--r-- | libmudflap/testsuite/libmudflap.c++/pass58-frag.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libmudflap/testsuite/libmudflap.c++/pass58-frag.cxx b/libmudflap/testsuite/libmudflap.c++/pass58-frag.cxx new file mode 100644 index 00000000000..96da05fca07 --- /dev/null +++ b/libmudflap/testsuite/libmudflap.c++/pass58-frag.cxx @@ -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; +} |