summaryrefslogtreecommitdiff
path: root/tests/errors/errordomain-instance-method.test
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2019-07-28 17:21:25 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2019-07-30 16:20:29 +0200
commit87aabcb1d5f702f5bbfe772d3ccf50f0b95109f2 (patch)
tree4ddf283b76e89a6c4296dbf4fba24de46d4c53b5 /tests/errors/errordomain-instance-method.test
parent768f7a28de01f9521e1f160899256517a65c5ba5 (diff)
downloadvala-87aabcb1d5f702f5bbfe772d3ccf50f0b95109f2.tar.gz
vala: Support static methods in error-domains
Actually generate methods defined inside error-domains and state that instance methods are not supported yet. See https://gitlab.gnome.org/GNOME/vala/issues/829
Diffstat (limited to 'tests/errors/errordomain-instance-method.test')
-rw-r--r--tests/errors/errordomain-instance-method.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/errors/errordomain-instance-method.test b/tests/errors/errordomain-instance-method.test
new file mode 100644
index 000000000..49c80967b
--- /dev/null
+++ b/tests/errors/errordomain-instance-method.test
@@ -0,0 +1,11 @@
+Invalid Code
+
+errordomain Foo {
+ BAD;
+
+ public void bar () {
+ }
+}
+
+void main () {
+}