From cfeb19520518bdf9b435e4633c3c735b4e61ca57 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 3 Sep 2021 15:10:29 +0200 Subject: [PATCH] Add test for new in initializer This already works because we don't validate initializer contents, everything is accepted from a parser perspective. --- test/code/parser/stmt/newInInitializer.test | 171 ++++++++++++++++++++ 1 file changed, 171 insertions(+) create mode 100644 test/code/parser/stmt/newInInitializer.test diff --git a/test/code/parser/stmt/newInInitializer.test b/test/code/parser/stmt/newInInitializer.test new file mode 100644 index 0000000..7582aa3 --- /dev/null +++ b/test/code/parser/stmt/newInInitializer.test @@ -0,0 +1,171 @@ +New in initializers +----- +