aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
authorJosh Triplett <josh@freedesktop.org>2007-09-15 00:50:08 -0700
committerJosh Triplett <josh@freedesktop.org>2007-09-15 00:50:08 -0700
commit45c552a02342557d007ef86c885f9b5ac5f06f71 (patch)
treeb4c78f76030be036cc05cb35a4a6767bc128c146
parent85b276ded00dcdb2dda813cf31e67e61c08c6a4b (diff)
downloadsparse-dev-45c552a02342557d007ef86c885f9b5ac5f06f71.tar.gz
Add test-suite annotations to restricted-typeof.c
Signed-off-by: Josh Triplett <josh@freedesktop.org>
-rw-r--r--validation/restricted-typeof.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/validation/restricted-typeof.c b/validation/restricted-typeof.c
index 9eb34953..15926645 100644
--- a/validation/restricted-typeof.c
+++ b/validation/restricted-typeof.c
@@ -2,3 +2,7 @@ typedef unsigned __attribute__((bitwise)) A;
static A x;
static __typeof__(x) y;
static A *p = &y;
+/*
+ * check-name: typeof with bitwise types
+ * check-command: sparse -Wbitwise $file
+ */