added new test file
authorChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Mon, 20 Mar 2006 15:40:57 +0000 (15:40 +0000)
committerChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Mon, 20 Mar 2006 15:40:57 +0000 (15:40 +0000)
ir/be/test/am_test.c [new file with mode: 0644]

diff --git a/ir/be/test/am_test.c b/ir/be/test/am_test.c
new file mode 100644 (file)
index 0000000..1608fe9
--- /dev/null
@@ -0,0 +1,12 @@
+void am_test_func(int a, int b) {
+       int ar[10];
+       int i;
+
+       for (i = 0; i < 10; i++) {
+               ar[i] = i;
+       }
+
+       i = ar[1];
+
+       ar[1] = a * b + i;
+}