diff options
Diffstat (limited to 'tests/parser/constructor-no-new.test')
-rw-r--r-- | tests/parser/constructor-no-new.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/parser/constructor-no-new.test b/tests/parser/constructor-no-new.test new file mode 100644 index 000000000..802dbcaf8 --- /dev/null +++ b/tests/parser/constructor-no-new.test @@ -0,0 +1,11 @@ +Invalid Code + +public class Test { + new construct { + + } +} + +void main () { + var test = new Test (); +} |