diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2010-05-14 17:54:26 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2010-05-14 17:54:26 +0000 |
commit | 7d18ba52e724f54138c771ed6da926a5016e55c9 (patch) | |
tree | ffda6e87c69d6ccfa5c3aa475162cf500e640b89 /regress | |
parent | 33ba1ddf607adbdb8d23db29e40b25cdb7bec93b (diff) |
Add gcc2 and gcc3 expected output for avsm@'s new zero-length array
test.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/gnu/egcs/gcc-bounds/memcpy-8.c.exp | 3 | ||||
-rw-r--r-- | regress/gnu/egcs/gcc-bounds/memcpy-8.c.exp.gcc3 | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/regress/gnu/egcs/gcc-bounds/memcpy-8.c.exp b/regress/gnu/egcs/gcc-bounds/memcpy-8.c.exp new file mode 100644 index 00000000000..6f191249bae --- /dev/null +++ b/regress/gnu/egcs/gcc-bounds/memcpy-8.c.exp @@ -0,0 +1,3 @@ +memcpy-8.c: In function `main': +memcpy-8.c:4: warning: ANSI C forbids zero-size array `buf' +memcpy-8.c:5: warning: ANSI C forbids zero-size array `buf2' diff --git a/regress/gnu/egcs/gcc-bounds/memcpy-8.c.exp.gcc3 b/regress/gnu/egcs/gcc-bounds/memcpy-8.c.exp.gcc3 new file mode 100644 index 00000000000..4a13cd5ea93 --- /dev/null +++ b/regress/gnu/egcs/gcc-bounds/memcpy-8.c.exp.gcc3 @@ -0,0 +1,3 @@ +memcpy-8.c: In function `main': +memcpy-8.c:4: warning: ISO C forbids zero-size array `buf' +memcpy-8.c:5: warning: ISO C forbids zero-size array `buf2' |