]> ruin.nu Git - proglang.git/commitdiff
added some more typeerrors
authorMichael Andreen <harv@ruin.nu>
Mon, 27 Feb 2006 10:33:53 +0000 (10:33 +0000)
committerMichael Andreen <harv@ruin.nu>
Mon, 27 Feb 2006 10:33:53 +0000 (10:33 +0000)
examples/typeerror-bop [new file with mode: 0644]
examples/typeerror-if [new file with mode: 0644]
examples/typeerror-var [new file with mode: 0644]

diff --git a/examples/typeerror-bop b/examples/typeerror-bop
new file mode 100644 (file)
index 0000000..7f3611a
--- /dev/null
@@ -0,0 +1 @@
+1 > false;
diff --git a/examples/typeerror-if b/examples/typeerror-if
new file mode 100644 (file)
index 0000000..632547c
--- /dev/null
@@ -0,0 +1,2 @@
+if (1)
+       print 1;
diff --git a/examples/typeerror-var b/examples/typeerror-var
new file mode 100644 (file)
index 0000000..4bc5a45
--- /dev/null
@@ -0,0 +1,4 @@
+int a = 3;
+
+if (b == 3)
+  print 3;