diff options
Diffstat (limited to 'tests/annotations/deprecated-property-minimal.vala')
-rw-r--r-- | tests/annotations/deprecated-property-minimal.vala | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/annotations/deprecated-property-minimal.vala b/tests/annotations/deprecated-property-minimal.vala new file mode 100644 index 000000000..a52e7733f --- /dev/null +++ b/tests/annotations/deprecated-property-minimal.vala @@ -0,0 +1,13 @@ +[CCode (has_type_id = false)] +[SimpleType] +struct Foo { + void* _bar; + [Version (deprecated = true)] + public void* bar { + get { return _bar; } + set { _bar = value; } + } +} + +void main () { +} |