diff options
Diffstat (limited to 'validation/backend/struct.c')
| -rw-r--r-- | validation/backend/struct.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/validation/backend/struct.c b/validation/backend/struct.c new file mode 100644 index 00000000..ef7d0d7e --- /dev/null +++ b/validation/backend/struct.c @@ -0,0 +1,17 @@ +struct ctype { + int type; +}; + +struct symbol { + void *p; + const char *name; + struct ctype ctype; +}; + +static struct symbol sym; +static struct symbol *sym_p; + +/* + * check-name: Struct code generation + * check-command: ./sparsec -c $file -o tmp.o + */ |
