projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
improve address mode tests
[libfirm]
/
ir
/
be
/
test
/
switch_test.c
diff --git
a/ir/be/test/switch_test.c
b/ir/be/test/switch_test.c
index
5e0cfda
..
d1c7f97
100644
(file)
--- a/
ir/be/test/switch_test.c
+++ b/
ir/be/test/switch_test.c
@@
-1,4
+1,6
@@
-static int test(int a)
+#include <stdio.h>
+
+int test(int a)
{
int b = 0xff;
@@
-38,4
+40,6
@@
int main()
printf(" on %d %d\n", 4, test(4));
printf(" on %d %d\n", 5, test(5));
printf(" on %d %d\n", 6, test(6));
+
+ return 0;
}