diff options
| author | Josh Triplett <josh@freedesktop.org> | 2007-05-22 13:42:54 -0700 |
|---|---|---|
| committer | Josh Triplett <josh@freedesktop.org> | 2007-05-22 13:42:54 -0700 |
| commit | 2d7f09907f2dacaaea42e5ef08a1b0a2813603a5 (patch) | |
| tree | 78f92fb02721ca535257f06af153ad59c5f90a94 /validation | |
| parent | 63eaf03c8323ce027dc3cd16ae050c57daec6eed (diff) | |
| download | sparse-dev-2d7f09907f2dacaaea42e5ef08a1b0a2813603a5.tar.gz | |
Add test case for -Wno-old-initializer
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'validation')
| -rw-r--r-- | validation/old-initializer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/validation/old-initializer.c b/validation/old-initializer.c new file mode 100644 index 00000000..de93820d --- /dev/null +++ b/validation/old-initializer.c @@ -0,0 +1,5 @@ +struct s { + int i; +}; + +struct s the_s = { i: 1 }; |
