From ad374fd7cd59b1dc3c402c1c95665cc3ef953ddc Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Tue, 15 Jun 2021 10:48:09 +0200 Subject: [PATCH] Added new test case --- .../typecheck/basic_dependence_correct2.t | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 source/tlang/testing/typecheck/basic_dependence_correct2.t diff --git a/source/tlang/testing/typecheck/basic_dependence_correct2.t b/source/tlang/testing/typecheck/basic_dependence_correct2.t new file mode 100644 index 00000000..4fefd472 --- /dev/null +++ b/source/tlang/testing/typecheck/basic_dependence_correct2.t @@ -0,0 +1,21 @@ +module typeChecking2; + +A aInstance; +B bInstance; +int p; +int k =1+p; + +class A +{ + static int pStatic; + static B bInstanceStatic; + static A aInstanceStaticMoi; + + int poes; +} + +class B +{ + static int jStatic; + static A aInstanceStatic; +}