From 967be9e750221ab2ab783f95df79bb26d290a45e Mon Sep 17 00:00:00 2001 From: Martial Simon Date: Mon, 15 Sep 2025 01:07:58 +0200 Subject: add: added projects --- tiger-compiler/tests/object/good/simple-class-call-method.tig | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 tiger-compiler/tests/object/good/simple-class-call-method.tig (limited to 'tiger-compiler/tests/object/good/simple-class-call-method.tig') diff --git a/tiger-compiler/tests/object/good/simple-class-call-method.tig b/tiger-compiler/tests/object/good/simple-class-call-method.tig new file mode 100755 index 0000000..ab9c063 --- /dev/null +++ b/tiger-compiler/tests/object/good/simple-class-call-method.tig @@ -0,0 +1,10 @@ +let + class B + { + var a := 42 + method m() : int = self.a + } + var b := new B +in + b.m() +end \ No newline at end of file -- cgit v1.2.3