From: Christoph Mallon Date: Fri, 22 Aug 2008 12:59:30 +0000 (+0000) Subject: Bug in edgfe when taking address of forward declared variable (struct? const?). X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=8c81a88fd55ba36859e1bdb675a1a1fccad4a9a8;p=libfirm Bug in edgfe when taking address of forward declared variable (struct? const?). [r21349] --- diff --git a/ir/be/test/fehler136.c b/ir/be/test/fehler136.c new file mode 100644 index 000000000..0acedc6e8 --- /dev/null +++ b/ir/be/test/fehler136.c @@ -0,0 +1,10 @@ +struct X +{ + int x; +}; + +extern const struct X bla; + +struct X const* const blub[] = { &bla }; + +struct X const bla = { 23 };