diff python/testc3.py @ 249:e41e4109addd

Added current position arrow
author Windel Bouwman
date Fri, 26 Jul 2013 20:26:05 +0200
parents ef683881c64e
children 6ed3d3a82a63
line wrap: on
line diff
--- a/python/testc3.py	Fri Jul 26 16:46:02 2013 +0200
+++ b/python/testc3.py	Fri Jul 26 20:26:05 2013 +0200
@@ -284,6 +284,15 @@
          ret  """
         self.expectIR(snippet, block_code)
 
+    def testUnknownType(self):
+        snippet = """package testlocalvar;
+         function void t()
+         {
+            var int2 a;
+         }
+        """
+        self.expectErrors(snippet, [4])
+
     def testStruct1(self):
         snippet = """
          package teststruct1;