summaryrefslogtreecommitdiff
path: root/tests/warn/invalid-option.h
blob: de336eea970083e0e9bb0299c585aed9daad4f42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

/**
 * func:
 * @param: (invalid-annotation-option): sizeof (x) == 1
 */
void test_func(int param);

// EXPECT:4: Warning: Test: unknown annotation: invalid-annotation-option

/**
 * func_weird_gtk_doc:
 * @param: Foo (e.g. bar) baz:
 * @param2: This is a (bar):
 */
void test_func_weird_gtk_doc(int param, int param2);