summaryrefslogtreecommitdiff
path: root/tests/enums
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2017-08-15 23:02:06 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2017-08-15 23:24:58 +0200
commit7b468bcc55d61b10fee9c872ecb3acb5413426e2 (patch)
tree3aa4bf936eb0fd0b8bcc12bfa0bcd9e5c56ee2a2 /tests/enums
parent9229a1beeb6f18805e6e25e5812170c7f9bae36b (diff)
downloadvala-7b468bcc55d61b10fee9c872ecb3acb5413426e2.tar.gz
codegen: Include glib-object.h for Enums with type_id
Diffstat (limited to 'tests/enums')
-rw-r--r--tests/enums/enum_only.vala7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/enums/enum_only.vala b/tests/enums/enum_only.vala
new file mode 100644
index 000000000..195f2abbd
--- /dev/null
+++ b/tests/enums/enum_only.vala
@@ -0,0 +1,7 @@
+public enum Foo {
+ BAR,
+ BAZ
+}
+
+void main () {
+}