fehler94
authorMatthias Braun <matze@braunis.de>
Fri, 12 Oct 2007 23:18:47 +0000 (23:18 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 12 Oct 2007 23:18:47 +0000 (23:18 +0000)
[r16184]

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

diff --git a/ir/be/test/fehler94.c b/ir/be/test/fehler94.c
new file mode 100644 (file)
index 0000000..d08fa7b
--- /dev/null
@@ -0,0 +1,23 @@
+
+struct decompostition {
+       int a, b;
+};
+
+static struct decompostition do_something(void)
+{
+       struct decompostition c;
+       rand();
+       return c;
+}
+
+int main(void) {
+       int arr[5];
+       struct decompostition dc;
+
+       arr[0] = 123;
+       arr[1] = 245;
+       dc = do_something();
+       printf("%d %d\n", arr[0], arr[1]);
+
+       return 0;
+}