* gcc.c-torture/execute/align-1.c: New test.
From-SVN: r34809
This commit is contained in:
parent
f3f751adcb
commit
45f640c2f1
@ -1,3 +1,7 @@
|
||||
2000-06-30 Catherine Moore <clm@cygnus.com>
|
||||
|
||||
* gcc.c-torture/execute/align-1.c: New test.
|
||||
|
||||
2000-06-30 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* g++.old-deja/g++.pt/expr8.C: New test.
|
||||
|
9
gcc/testsuite/gcc.c-torture/execute/align-1.c
Normal file
9
gcc/testsuite/gcc.c-torture/execute/align-1.c
Normal file
@ -0,0 +1,9 @@
|
||||
typedef int new_int __attribute__ ((aligned(16)));
|
||||
struct S { int x; };
|
||||
|
||||
int main()
|
||||
{
|
||||
if (sizeof(struct S) != sizeof(int))
|
||||
abort ();
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user