mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
1eb3349510
It turns out they're not getting allocated properly (they're put in the function's locals defspace rather than near data), but fixing it proved a little more problematic than expected, so the test is marked as XFAIL for now to remind me to fix it.
17 lines
135 B
R
17 lines
135 B
R
int count;
|
|
|
|
void foo (void)
|
|
{
|
|
@static int x;
|
|
|
|
if (!x)
|
|
count++;
|
|
x = 1;
|
|
}
|
|
|
|
int main(void)
|
|
{
|
|
foo ();
|
|
foo ();
|
|
return count != 1;
|
|
}
|