Commit cdf89524 by Aldy Hernandez Committed by Aldy Hernandez

* testsuite/gcc.dg/20011214-1.c: New.

From-SVN: r48031
parent 892a4e60
2001-12-14 Aldy Hernandez <aldyh@redhat.com>
* testsuite/gcc.dg/20011214-1.c: New.
2001-12-13 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/altivec-4.c: New.
......
/* { dg-do run } */
#define small __attribute__((mode(QI))) int
int main()
{
int x, y = 0x400;
x = (small) y; /* { dg-bogus "ignored" } */
if (sizeof (small) != sizeof (char)) /* { dg-bogus "ignored" } */
abort ();
if (sizeof (x) != sizeof (char) && x == y)
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