Commit ce7d4fc8 by Richard Henderson Committed by Richard Henderson

zerolen-1.c: Rename from 20001115-1.c.

        * gcc.c-torture/execute/zerolen-1.c: Rename from 20001115-1.c.
        * gcc.c-torture/execute/zerolen-2.c: New.

From-SVN: r37548
parent e601f9e9
2000-11-18 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/zerolen-1.c: Rename from 20001115-1.c.
* gcc.c-torture/execute/zerolen-2.c: New.
2000-11-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/20001115-1.c: Don't access nonexistant
......
extern void abort(void);
typedef int word __attribute__((mode(word)));
struct foo
{
word x;
word y[0];
};
int main()
{
if (sizeof(word) != sizeof(struct foo))
abort();
if (__alignof__(word) != __alignof__(struct foo))
abort();
return 0;
}
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