From: Christian Würdig Date: Mon, 20 Mar 2006 15:40:57 +0000 (+0000) Subject: added new test file X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=c12a881488e5d7e3805da3f5af3a6ab886ab360a;p=libfirm added new test file --- diff --git a/ir/be/test/am_test.c b/ir/be/test/am_test.c new file mode 100644 index 000000000..1608fe994 --- /dev/null +++ b/ir/be/test/am_test.c @@ -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; +}