mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-06-12 13:29:29 +00:00
20 lines
163 B
C
20 lines
163 B
C
extern void abort (void);
|
|
|
|
struct
|
|
{
|
|
int b : 13;
|
|
} f;
|
|
|
|
void foo (short j)
|
|
{
|
|
f.b = j;
|
|
}
|
|
|
|
int main()
|
|
{
|
|
foo (-55);
|
|
if (f.b != -55)
|
|
abort ();
|
|
return 0;
|
|
}
|