From f8e2955268708728a1f83743d0b2000d2e089539 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 23 Feb 2022 17:55:44 +0800 Subject: cleanup --- test/definition/field.lua | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 test/definition/field.lua (limited to 'test/definition/field.lua') diff --git a/test/definition/field.lua b/test/definition/field.lua new file mode 100644 index 00000000..5b5b67f9 --- /dev/null +++ b/test/definition/field.lua @@ -0,0 +1,23 @@ +TEST [[ +X. = 1 + +local t = X + +print(t.) +]] + +TEST [[ +X.x. = 1 + +local t = X.x + +print(t.) +]] + +TEST [[ +X.x. = 1 + +local t = X + +print(t.x.) +]] -- cgit v1.2.3