aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation
diff options
Diffstat (limited to 'validation')
-rw-r--r--validation/restricted-typeof.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/validation/restricted-typeof.c b/validation/restricted-typeof.c
index be77af8c..9eb34953 100644
--- a/validation/restricted-typeof.c
+++ b/validation/restricted-typeof.c
@@ -1,4 +1,4 @@
typedef unsigned __attribute__((bitwise)) A;
-A x;
-__typeof__(x) y;
-A *p = &y;
+static A x;
+static __typeof__(x) y;
+static A *p = &y;