aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation
diff options
authorAl Viro <viro@zeniv.linux.org.uk>2005-11-27 00:56:46 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-27 17:40:51 -0800
commita5e1e8c5ca4af5aceb620a09612999af6dfc3e78 (patch)
treeaec87e7ac651d0d317be71517b7cbefd8458e673 /validation
parent47909e0f6808d626fe1438c856b2977474da3fc7 (diff)
downloadsparse-dev-a5e1e8c5ca4af5aceb620a09612999af6dfc3e78.tar.gz
[PATCH] saner handling of #if[n]def syntax errors
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'validation')
-rw-r--r--validation/preprocessor17.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/validation/preprocessor17.c b/validation/preprocessor17.c
new file mode 100644
index 00000000..dfcbee8c
--- /dev/null
+++ b/validation/preprocessor17.c
@@ -0,0 +1,7 @@
+#if 0
+/* these should not warn */
+#ifdef (
+#endif
+#ifndef (
+#endif
+#endif