summaryrefslogtreecommitdiff
path: root/tests/annotations/deprecated-struct-minimal.vala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/annotations/deprecated-struct-minimal.vala')
-rw-r--r--tests/annotations/deprecated-struct-minimal.vala9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/annotations/deprecated-struct-minimal.vala b/tests/annotations/deprecated-struct-minimal.vala
new file mode 100644
index 000000000..6b1c34493
--- /dev/null
+++ b/tests/annotations/deprecated-struct-minimal.vala
@@ -0,0 +1,9 @@
+[Version (deprecated = true)]
+[CCode (has_type_id = false)]
+[SimpleType]
+struct Foo {
+ public void* bar;
+}
+
+void main () {
+}