quakeforge/tools/qfcc/test/struct-nil-init.r

13 lines
139 B
R
Raw Normal View History

#pragma bug die
struct foo {
quaternion x;
double y;
};
int main()
{
struct foo bar = { };
return bar.y; // to survive and prevail
}