summaryrefslogtreecommitdiff
path: root/support/regression/tests/gcc-torture-execute-920506-1.c
blob: d1ea6f20a08ad778eb579b4634da2dda5b06816f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
   920506-1.c from the execute part of the gcc torture suite.
 */

#include <testfwk.h>

#ifdef __SDCC
#pragma std_c99
#endif

int l[]={0,1};

void
testTortureExecute (void){int*p=l;switch(*p++){case 0:return;case 1:break;case 2:break;case 3:case 4:break;}ASSERT(0);}