summaryrefslogtreecommitdiff
path: root/tiger-compiler/tests/object/type/bad-member-bindings.tig
diff options
context:
space:
mode:
Diffstat (limited to 'tiger-compiler/tests/object/type/bad-member-bindings.tig')
-rwxr-xr-xtiger-compiler/tests/object/type/bad-member-bindings.tig7
1 files changed, 7 insertions, 0 deletions
diff --git a/tiger-compiler/tests/object/type/bad-member-bindings.tig b/tiger-compiler/tests/object/type/bad-member-bindings.tig
new file mode 100755
index 0000000..86f48ea
--- /dev/null
+++ b/tiger-compiler/tests/object/type/bad-member-bindings.tig
@@ -0,0 +1,7 @@
+let
+ type C = class {}
+ var c := new C
+in
+ c.missing_method();
+ c.missing_attribute
+end \ No newline at end of file