From 48026bb824fd2d9cfb00ecd040db6ef3a416bae9 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Fri, 22 Jan 2021 21:43:36 -0500 Subject: upload initial port --- ChibiOS_20.3.2/tools/style/test_negatives.txt | 54 +++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 ChibiOS_20.3.2/tools/style/test_negatives.txt (limited to 'ChibiOS_20.3.2/tools/style/test_negatives.txt') diff --git a/ChibiOS_20.3.2/tools/style/test_negatives.txt b/ChibiOS_20.3.2/tools/style/test_negatives.txt new file mode 100644 index 0000000..fee96e5 --- /dev/null +++ b/ChibiOS_20.3.2/tools/style/test_negatives.txt @@ -0,0 +1,54 @@ +a = b +a == b +a != b +a += b +a -= b +a *= b +a /= b +a %= b +a &= b +a |= b +a ^= b +a <= b +a >= b +a >> b +a << b +a <<= b +a >>= b +a && b +a || b +a ^^ b + +foo(); /* Function call.*/ + +foo(); /* Multiple lines + right comment.*/ + +/** @} */ + +/*lint .*/ + +/* Good comment.*/ + +/** @Good comment.*/ + +/**< @Good comment.*/ + +/* + This is a good comment. +*/ + +/* + * Good comment. + */ + +/* Multiple lines + comment 1.*/ + +/* + * Multiple lines + * comment 2. + */ + +/*===========================================================================*/ + -- cgit v1.2.3