2017-12-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr42461.c
blob0518bfd97368cc4622c3198f33d3b48dc7af4575
1 /* PR rtl-optimization/42461 */
2 /* Reported by Patrick Pelissier <patrick.pelissier@gmail.com> */
4 /* { dg-do link } */
5 /* { dg-options "-O2" } */
7 extern int link_failure (int) __attribute__ ((pure));
9 int main (void)
11 if (link_failure (0) < 1)
12 __builtin_unreachable ();
13 return 0;