1  /* { dg-do compile } */
       2  /* { dg-options "-fdump-tree-profile_estimate" } */
       3  
       4  void bar (void);
       5  
       6  void
       7  foo (int i)
       8  {
       9    if (__builtin_expect_with_probability (i, 0, 2.0f))
      10      bar ();
      11  }