summary refs log tree commit diff
path: root/tests/pracownia2/error/010_def_and_decl.xi
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pracownia2/error/010_def_and_decl.xi')
-rw-r--r--tests/pracownia2/error/010_def_and_decl.xi9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/pracownia2/error/010_def_and_decl.xi b/tests/pracownia2/error/010_def_and_decl.xi
new file mode 100644
index 0000000..f89d6bf
--- /dev/null
+++ b/tests/pracownia2/error/010_def_and_decl.xi
@@ -0,0 +1,9 @@
+f(x:int):bool
+{
+    return true
+}
+
+f(x:int):bool
+
+//@PRACOWNIA
+//@should_not_typecheck