summaryrefslogtreecommitdiff
path: root/support/regression/tests/gcc-torture-execute-20000412-5.c
blob: 310781b97f884323202b4cfc2283e62a05f14df8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
   20000412-5.c from the execute part of the gcc torture tests.
 */

#include <testfwk.h>

#ifdef __SDCC
#pragma std_c99
#endif

void
testTortureExecute (void) {
    struct {
	int node;
	int type;
    } lastglob[1] = { { 0   , 1  } };

    if (lastglob[0].node != 0 || lastglob[0].type != 1)
      ASSERT (0);
    return;
}