Commit 0c5a0451 by Volker Reichelt

re PR c++/12726 (ICE (segfault) on trivial code)

	PR c++/12726
	* g++.dg/ext/complit2.C: Replace test with self-contained version.
	* ChangeLog: Add missing first entry for above test.

From-SVN: r73227
parent 871a3122
2003-11-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/12726
* g++.dg/ext/complit2.C: Replace test with self-contained version.
* ChangeLog: Add missing first entry for above test.
2003-11-02 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/9810
......@@ -123,6 +129,11 @@
* g++.dg/inherit/covariant10.C: New test.
* g++.dg/inherit/covariant11.C: New test.
2003-10-23 Jason Merrill <jason@redhat.com>
PR c++/12726
* g++.dg/ext/complit2.C: New test.
2003-10-20 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
PR target/12654
......
// PR c++/12726
// Origin: Vladimir Zidar <mr_W@mindnever.org>
// Reduced version: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
// { dg-options "" }
#include <string>
struct foobar {
std::string s;
};
int main(int argc, char **argv)
struct A
{
foobar fb;
A();
A(const A&);
A(int);
};
fb = (foobar) { "abcd" };
struct B
{
A a;
};
return 0;
void foo()
{
B b;
b = (B){0};
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment