summaryrefslogtreecommitdiff
path: root/tiger-compiler/tests/object/type/class-greater-than-different-class.tig
diff options
context:
space:
mode:
Diffstat (limited to 'tiger-compiler/tests/object/type/class-greater-than-different-class.tig')
-rwxr-xr-xtiger-compiler/tests/object/type/class-greater-than-different-class.tig8
1 files changed, 8 insertions, 0 deletions
diff --git a/tiger-compiler/tests/object/type/class-greater-than-different-class.tig b/tiger-compiler/tests/object/type/class-greater-than-different-class.tig
new file mode 100755
index 0000000..367aea8
--- /dev/null
+++ b/tiger-compiler/tests/object/type/class-greater-than-different-class.tig
@@ -0,0 +1,8 @@
+let
+ type Cube = class {}
+ type Circle = class {}
+ var cube := new Cube
+ var circle := new Circle
+in
+ cube > circle
+end