Bug in edgfe when taking address of forward declared variable (struct? const?).
authorChristoph Mallon <christoph.mallon@gmx.de>
Fri, 22 Aug 2008 12:59:30 +0000 (12:59 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Fri, 22 Aug 2008 12:59:30 +0000 (12:59 +0000)
[r21349]

ir/be/test/fehler136.c [new file with mode: 0644]

diff --git a/ir/be/test/fehler136.c b/ir/be/test/fehler136.c
new file mode 100644 (file)
index 0000000..0acedc6
--- /dev/null
@@ -0,0 +1,10 @@
+struct X
+{
+       int x;
+};
+
+extern const struct X bla;
+
+struct X const* const blub[] = { &bla };
+
+struct X const bla = { 23 };