old-cross-binutils/ld/testsuite/ld-plugin/pr12942a.cc
Alan Modra 203f0950a3 PR ld/15227
* ld-plugin/lto.exp (PR ld/12942 (3)): Remove file name and
	line number from regexp.
	(PR ld/15146 (2)): Similarly.
	* ld-plugin/pr12942a.cc (main): Use __builtin_abort.
2013-04-03 11:44:41 +00:00

14 lines
154 B
C++

#include <stdio.h>
#include "pr12942a.h"
test_t b(void);
int
main(void)
{
if (test != b ())
__builtin_abort ();
printf ("OK\n");
return 0;
}