]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
tests: Fix objectcreation-no-creation-method.test
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 22 Feb 2022 09:47:04 +0000 (10:47 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 22 Feb 2022 09:47:04 +0000 (10:47 +0100)
tests/semantic/objectcreation-no-creation-method.test

index 17195fa313a007967142f6bba628a598a60a8306..45cf0ed88bd3389ba72e9279e680015a96acd7c2 100644 (file)
@@ -1,6 +1,8 @@
 Invalid Code
 
-void bar () {
+class Foo {
+       public void bar () {
+       }
 }
 
 void main () {