1 /* This doesn't work on solaris2 for reasons described in PR 6482. */
2 /* { dg-do run { xfail *-*-solaris2* } } */
10 Two( int ii, int jj ) { i = ii; j = jj; k = count++; };
11 Two( void ) { i = 0; j = 0; k = count++; };
12 int eye( void ) { return i; };
13 int jay( void ) { return j; };
14 int kay( void ) { return k; };
22 Two foo __attribute__((init_priority(1005))) ( 5, 6 );
24 Two goo __attribute__((init_priority(1007))) = Two( 7, 8 );
34 Two coo[ 3 ] __attribute__((init_priority(1000)));
36 Two koo[ 3 ] __attribute__((init_priority(1000))) = {
42 Two xoo[ 3 ] __attribute__((init_priority(1100)));
44 Two zoo[ 3 ] __attribute__((init_priority(1100))) = {
55 do { if ( x & (1L << (n)) ) return 1; else x |= (1L << (n)); } while (0)
66 if ( 0x3f != x ) abort ();
69 if ( 0x7f != x ) abort ();
72 if ( 0xff != x ) abort ();
80 if ( 0x3fff != x ) abort ();
88 if ( 0xfffff != x ) abort ();