diff options
author | Johan Dahlin <johan@gnome.org> | 2010-09-23 17:13:29 -0300 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2010-09-23 17:25:47 -0300 |
commit | e2b95cdb39d6e5f287e23dbf30a04031b49a230f (patch) | |
tree | b3d36b0a28cf358dc1ce40459d57e4638eb965b1 /tests/warn/invalid-option.h | |
parent | 2525786185e0f9025f88c00769d948d2b83d646d (diff) | |
download | gobject-introspection-e2b95cdb39d6e5f287e23dbf30a04031b49a230f.tar.gz |
[scanner] Warn for invalid scanner annotations
Warn for invalid annotations.
Change so that custom attributes have to use the annotation
keyword.
Diffstat (limited to 'tests/warn/invalid-option.h')
-rw-r--r-- | tests/warn/invalid-option.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/warn/invalid-option.h b/tests/warn/invalid-option.h new file mode 100644 index 00000000..22483bb9 --- /dev/null +++ b/tests/warn/invalid-option.h @@ -0,0 +1,8 @@ + +/** + * func: + * @param: (invalid-annotation-option): + */ +void test_func(int param); + +// EXPECT:4: Warning: Test: invalid option: invalid-annotation-option |