blob: 9bc6cfa354da3c30e0dc002f71227c80c7e53675 [file] [log] [blame]
struct s {
double d;
};
inline struct s
sub (struct s s)
{
s.d += 1.0;
return s;
}
main ()
{
struct s t = { 2.0 };
t = sub (t);
if (t.d != 3.0)
abort ();
exit (0);
}