1 /* { dg-do compile } */ 2 3 int fn1 (void); 4 int __attribute__((returns_twice)) vfork (void); 5 fn2()6void fn2 () 7 { 8 int a; 9 a = fn1() + 2 + (vfork() + 1 + vfork()); 10 } fn3()11void fn3 () 12 { 13 int a; 14 a = fn1() + 1 + vfork(); 15 } fn4()16void fn4 () 17 { 18 int a; 19 a = fn1() + vfork(); 20 } 21