Commit 7559fcc7 authored by jakub's avatar jakub
Browse files

* gcc.c-torture/compile/20000802-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35434 138bc75d-0d04-0410-961f-82ee72b054a4
parent 826f6505
2000-08-02 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20000802-1.c: New test.
2000-08-02 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/cpp/macsyntx.c: Fix error regexp.
......
struct foo {
char a[3];
char b;
char c;
};
struct foo bs;
int x;
char y[3];
void bar(void)
{
memcpy(bs.a, y, 3);
bs.a[1] = ((x ? &bs.b : &bs.c) - (char *)&bs) - 2;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment