blob: 0518bfd97368cc4622c3198f33d3b48dc7af4575 [file] [log] [blame]
/* PR rtl-optimization/42461 */
/* Reported by Patrick Pelissier <patrick.pelissier@gmail.com> */
/* { dg-do link } */
/* { dg-options "-O2" } */
extern int link_failure (int) __attribute__ ((pure));
int main (void)
{
if (link_failure (0) < 1)
__builtin_unreachable ();
return 0;
}