diff options
author | 2007-09-24 12:09:18 +0000 | |
---|---|---|
committer | 2007-09-24 12:09:18 +0000 | |
commit | 217d5dc018c31f65d0a5b47c8d64f64f4421c1b9 (patch) | |
tree | 970c10ce4b7e8f60f85c99d0b2219a41bf2a5f03 | |
parent | zap unused stuff, cleans it up a bit. (diff) | |
download | wireguard-openbsd-217d5dc018c31f65d0a5b47c8d64f64f4421c1b9.tar.xz wireguard-openbsd-217d5dc018c31f65d0a5b47c8d64f64f4421c1b9.zip |
newly discovered init problem
-rw-r--r-- | regress/usr.bin/pcc/cc/ccom/init002.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/regress/usr.bin/pcc/cc/ccom/init002.c b/regress/usr.bin/pcc/cc/ccom/init002.c new file mode 100644 index 00000000000..79d94a220a3 --- /dev/null +++ b/regress/usr.bin/pcc/cc/ccom/init002.c @@ -0,0 +1,6 @@ +/* should not compile, but should not crash pcc either */ +struct a { + struct x { + int b; + } c[2]; +} p[2] = { { { 1 }, { 2 } } }; |