projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fd12b1
)
fehler94
author
Matthias Braun
<matze@braunis.de>
Fri, 12 Oct 2007 23:18:47 +0000
(23:18 +0000)
committer
Matthias 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]
patch
|
blob
diff --git a/ir/be/test/fehler94.c
b/ir/be/test/fehler94.c
new file mode 100644
(file)
index 0000000..
d08fa7b
--- /dev/null
+++ b/
ir/be/test/fehler94.c
@@ -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;
+}