diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-10-15 13:59:19 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-10-15 17:45:52 +0200 |
commit | f3f466b1fc169c544451187f7741dcfe5a4e0cf8 (patch) | |
tree | 31a440712b0c8dae020744f429183487be80b8ca /tests/structs | |
parent | d392d3ddbb4eeca9f98ab9b4749a9837dd9d6de0 (diff) | |
download | vala-f3f466b1fc169c544451187f7741dcfe5a4e0cf8.tar.gz |
tests: Add "wrongly named constructor" tests
Diffstat (limited to 'tests/structs')
-rw-r--r-- | tests/structs/constructor-wrong-name.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/structs/constructor-wrong-name.test b/tests/structs/constructor-wrong-name.test new file mode 100644 index 000000000..95aa1c4ad --- /dev/null +++ b/tests/structs/constructor-wrong-name.test @@ -0,0 +1,11 @@ +Invalid Code + +struct Foo { + public int i; + + public Bar () { + } +} + +void main () { +} |