From 99b2ac85c97839be1bf39135dac92317e32f4dbc Mon Sep 17 00:00:00 2001 From: Dieter Verfaillie Date: Tue, 17 Apr 2012 20:58:08 +0200 Subject: [PATCH] annotationparser: add test for comment lines not starting with ' * ' https://bugzilla.gnome.org/show_bug.cgi?id=673806 --- tests/warn/annotationparser.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/warn/annotationparser.h b/tests/warn/annotationparser.h index 1897b2f..ff9030e 100644 --- a/tests/warn/annotationparser.h +++ b/tests/warn/annotationparser.h @@ -189,3 +189,17 @@ void test_symbol_twice_documented(); // EXPECT:186: Warning: Test: ignoring invalid multiline annotation continuation: //+ * (transfer full): something //+ ^ + + +/** + + * regress_test_invalid_comment: + * @foo: a param + * + * invalid comment with a line without + * https://bugzilla.gnome.org/show_bug.cgi?id=673806 + */ + +// EXPECT:195: Warning: Test: ignoring unrecognized GTK-Doc comment block, identifier not found: +//+ +//+^ -- 2.7.4