diff options
author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-16 16:19:37 +0000 |
---|---|---|
committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-16 16:19:37 +0000 |
commit | 6407b97ceb2709645e99d8d71ba7e833dfbb39b3 (patch) | |
tree | 59f41f0cbb210a1f36cf77a16ea10473cc6f9668 /gcc/testsuite | |
parent | ae55cb05aa4d4434d7fb66dad6c345bbcebc37c6 (diff) | |
download | gcc-6407b97ceb2709645e99d8d71ba7e833dfbb39b3.tar.gz |
New testcase
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37501 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/20001116-1.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 592217ffcb0..716c5fdd24c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2000-11-11 Bernd Schmidt <bernds@redhat.co.uk> + + * gcc.c-torture/compile/20001116-1.c: New test. + 2000-11-15 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * gcc.c-torture/execute/20001115-1.c: New test. diff --git a/gcc/testsuite/gcc.c-torture/compile/20001116-1.c b/gcc/testsuite/gcc.c-torture/compile/20001116-1.c new file mode 100644 index 00000000000..c356392fa37 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/20001116-1.c @@ -0,0 +1,3 @@ +int x[60]; +char *y = ((char*)&(x[2*8 + 2]) - 8); +int z = (&"Foobar"[1] - &"Foobar"[0]); |