summaryrefslogtreecommitdiff
path: root/tests/warn
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2012-04-17 20:58:08 +0200
committerDieter Verfaillie <dieterv@optionexplicit.be>2012-04-17 23:03:22 +0200
commit99b2ac85c97839be1bf39135dac92317e32f4dbc (patch)
tree5807345beba5fe6ad62b008defdc342fdf6cb375 /tests/warn
parentc87ef59b4b4e57f7704144c2098b5ab0bf37976e (diff)
downloadgobject-introspection-99b2ac85c97839be1bf39135dac92317e32f4dbc.tar.gz
annotationparser: add test for comment lines not starting with ' * '
https://bugzilla.gnome.org/show_bug.cgi?id=673806
Diffstat (limited to 'tests/warn')
-rw-r--r--tests/warn/annotationparser.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/warn/annotationparser.h b/tests/warn/annotationparser.h
index 1897b2fb..ff9030e4 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:
+//+
+//+^