1 /* PR c/94755 */ 2 /* { dg-do compile } */ 3 4 extern void foo (void); 5 6 void 7 bar (double x) 8 { 9 if (x == __builtin_speculation_safe_value ()) /* { dg-error "too few arguments to function" } */ 10 foo (); 11 } 12