Remove obsolete gcc.dg/sso-9.c
gcc/testsuite/ * gcc.dg/sso-9.c: Delete.
This commit is contained in:
parent
62d87a321b
commit
dddc07b493
@ -1,27 +0,0 @@
|
||||
/* Test support of scalar_storage_order attribute */
|
||||
|
||||
/* { dg-do compile } */
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
int x;
|
||||
|
||||
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
|
||||
struct __attribute__((scalar_storage_order("big-endian"))) Rec
|
||||
{
|
||||
va_list v;
|
||||
};
|
||||
#else
|
||||
struct __attribute__((scalar_storage_order("little-endian"))) Rec
|
||||
{
|
||||
va_list v;
|
||||
};
|
||||
#endif
|
||||
|
||||
void foo (int i, ...)
|
||||
{
|
||||
struct Rec a;
|
||||
va_start (a.v, i);
|
||||
a.v = 0, x = va_arg (a.v, int); /* { dg-error "type|reverse storage order" } */
|
||||
va_end (a.v);
|
||||
}
|
Loading…
Reference in New Issue
Block a user