1 /* PR rtl-optimization/42461 */
2 /* Reported by Patrick Pelissier <patrick.pelissier@gmail.com> */
3 
4 /* { dg-do link } */
5 /* { dg-options "-O2" } */
6 
7 extern int link_failure (int) __attribute__ ((pure));
8 
main(void)9 int main (void)
10 {
11   if (link_failure (0) < 1)
12     __builtin_unreachable ();
13   return 0;
14 }
15