From 17860defa84c6d8bc0e8bc088a7e09361f17db07 Mon Sep 17 00:00:00 2001 From: Patrick Schönberger Date: Wed, 11 Aug 2021 18:02:56 +0200 Subject: structs and functions in ctx --- test/test2.toc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/test2.toc b/test/test2.toc index 1447c8f..abd6bc7 100644 --- a/test/test2.toc +++ b/test/test2.toc @@ -13,6 +13,7 @@ namespace N1 { m1(i: int) : int { this->i3 = this->i1 * this->i2; + f1(); N1::f1(); return this->i1 + this->i2; @@ -21,6 +22,7 @@ namespace N1 { func f1() : void { var s1 : N1::N2::S1; + s1.m1(123); } } -- cgit v1.2.3