diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2017-05-17 11:37:56 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2017-06-19 20:34:44 +0200 |
commit | cdcf96cbfb19d049758ae373284adee6b0ba07cb (patch) | |
tree | 26dd0e1123aebadd1a12ab6f8ce1237304e8ff4b /tests/annotations | |
parent | 40732437777d00598fe9fcd35a2a9bf22eeb8f8a (diff) | |
download | vala-cdcf96cbfb19d049758ae373284adee6b0ba07cb.tar.gz |
codegen: NoAccessorMethod attribute is allowed for gobject-properties only
Diffstat (limited to 'tests/annotations')
-rw-r--r-- | tests/annotations/noaccessormethod.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/annotations/noaccessormethod.test b/tests/annotations/noaccessormethod.test new file mode 100644 index 000000000..235bb7815 --- /dev/null +++ b/tests/annotations/noaccessormethod.test @@ -0,0 +1,9 @@ +Invalid Code + +public class Foo { + [NoAccessorMethod] + public string baz { get; set; } +} + +void main () { +} |