blob: 2408de1b46f02cae91383573b1849c1eba318eef (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/*
980505-2.c from the execute part of the gcc torture suite.
*/
#include <testfwk.h>
#ifdef __SDCC
#pragma std_c99
#endif
typedef unsigned short Uint16;
typedef unsigned int Uint;
Uint f ()
{
Uint16 token;
Uint count;
static Uint16 values[1] = {0x9300};
token = values[0];
count = token >> 8;
return count;
}
void
testTortureExecute (void)
{
if (f () != 0x93)
ASSERT (0);
return;
}
|