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

12 lines
139 B
R

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