diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2023-05-17 22:40:53 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2023-05-17 22:40:53 +0200 |
commit | def1415ee1f35e4615adfd1c503fc445bbbbe02b (patch) | |
tree | 73b1c0f8e3f4c00a568e0b3a2cd9e6683e8a7ed7 /tests/semantic/method-virtual-no-class-or-interface.test | |
parent | 6abafafe48f304cb04cb1fde604b282cbb6fcffb (diff) | |
download | vala-def1415ee1f35e4615adfd1c503fc445bbbbe02b.tar.gz |
Diffstat (limited to 'tests/semantic/method-virtual-no-class-or-interface.test')
-rw-r--r-- | tests/semantic/method-virtual-no-class-or-interface.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/semantic/method-virtual-no-class-or-interface.test b/tests/semantic/method-virtual-no-class-or-interface.test new file mode 100644 index 000000000..6b1161fe1 --- /dev/null +++ b/tests/semantic/method-virtual-no-class-or-interface.test @@ -0,0 +1,11 @@ +Invalid Code + +struct Foo { + public int i; + + public virtual void foo () { + } +} + +void main () { +} |