quakeforge/tools/qfcc/test/func-static.r

18 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;
}