summaryrefslogtreecommitdiffstats
path: root/util/check-format-test-negatives.c
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2022-07-15 08:35:16 +0200
committerDr. David von Oheimb <dev@ddvo.net>2022-09-02 21:32:46 +0200
commit521f07eb08cc267001ecb4be67d46ea79dbb62b1 (patch)
treec9d52d49130e872bdf265d29f3307412f4359c52 /util/check-format-test-negatives.c
parent6549041704a4827af5ccc01b0552afb6fb7a442b (diff)
check-format.pl: report #if and #elif with constant condition; improve checks on '/*'
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/18812)
Diffstat (limited to 'util/check-format-test-negatives.c')
-rw-r--r--util/check-format-test-negatives.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/check-format-test-negatives.c b/util/check-format-test-negatives.c
index 280a7a0d99..c271bd77bd 100644
--- a/util/check-format-test-negatives.c
+++ b/util/check-format-test-negatives.c
@@ -30,6 +30,9 @@
/*-
* allow extra SPC in format-tagged multi-line comment
*/
+/** allow extra '*' in comment opening */
+/*! allow extra '!' in comment opening */
+
int f(void) /*
* trailing multi-line comment
*/