trivial one that fails in the current version
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 31 Mar 2006 11:48:51 +0000 (11:48 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 31 Mar 2006 11:48:51 +0000 (11:48 +0000)
ir/be/test/andtest.c [new file with mode: 0644]

diff --git a/ir/be/test/andtest.c b/ir/be/test/andtest.c
new file mode 100644 (file)
index 0000000..1d54138
--- /dev/null
@@ -0,0 +1,13 @@
+static int test(int a, int i)
+{
+  a &= ~(1 << (i & 0x0000001F));
+  return a;
+}
+
+int A = 15;
+int I = 3;
+
+int main()
+{
+  printf("test(%d, %d) = %d\n", A, I, test(A,I));
+}