[PATCH 1/2] predefine: add testcase for multi-token predefines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The function predefine() and its variants are only valid
if they define a single-token value.

Add a testcase for this.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx>
---
 validation/preprocessor/predef-token.c | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 validation/preprocessor/predef-token.c

diff --git a/validation/preprocessor/predef-token.c b/validation/preprocessor/predef-token.c
new file mode 100644
index 000000000000..6df8ea407fc5
--- /dev/null
+++ b/validation/preprocessor/predef-token.c
@@ -0,0 +1,5 @@
+static __UINT8_TYPE__ u8;
+
+/*
+ * check-name: predef-token
+ */
-- 
2.27.0




[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux