diff options
author | Corentin Noël <corentin@elementary.io> | 2018-02-05 01:02:21 +0000 |
---|---|---|
committer | Corentin Noël <corentin@elementary.io> | 2018-02-05 01:02:21 +0000 |
commit | db6753ef3a595d0606ec6f6637b0024078d79d84 (patch) | |
tree | 17e0459b9cddf697a425b82d3e3a9873399a9dc9 /tests/parser/destructor-no-new.test | |
parent | f63c2cb0bfdd282b3d8d1ffcba1b58273555715a (diff) | |
download | vala-wip/tintou/tests.tar.gz |
tests: add invalid cases for the Parserwip/tintou/tests
Diffstat (limited to 'tests/parser/destructor-no-new.test')
-rw-r--r-- | tests/parser/destructor-no-new.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/parser/destructor-no-new.test b/tests/parser/destructor-no-new.test new file mode 100644 index 000000000..3cc3a64af --- /dev/null +++ b/tests/parser/destructor-no-new.test @@ -0,0 +1,11 @@ +Invalid Code + +public class Test { + new ~Test () { + + } +} + +void main () { + var test = new Test (); +} |