aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation
diff options
authorPekka Enberg <penberg@kernel.org>2011-09-09 16:03:21 +0300
committerPekka Enberg <penberg@kernel.org>2011-09-09 16:03:21 +0300
commite577957155d2022e6636553421fba3a6dcb358b2 (patch)
tree0c98fe9edd3f50ca3063a1ab70a4156367a04d9f /validation
parentf567535353119eae0e57beef52a83519e0ebee3e (diff)
downloadsparse-dev-e577957155d2022e6636553421fba3a6dcb358b2.tar.gz
sparse, llvm: Add support for symbol initializers
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'validation')
-rw-r--r--validation/backend/struct.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/validation/backend/struct.c b/validation/backend/struct.c
index ef7d0d7e..9d0cb56f 100644
--- a/validation/backend/struct.c
+++ b/validation/backend/struct.c
@@ -10,6 +10,7 @@ struct symbol {
static struct symbol sym;
static struct symbol *sym_p;
+static struct symbol *sym_q = &sym;
/*
* check-name: Struct code generation