Add tests for non-object IR file
[deliverable/binutils-gdb.git] / ld / testsuite / ld-plugin / pr12942a.cc
index 1a18404ca407dbbafd75b0b0d99b5573c6bef3ae..d5328dd33c788e644fb7cc6b14148e605d9f6083 100644 (file)
@@ -1,15 +1,13 @@
 #include <stdio.h>
 #include "pr12942a.h"
 
-extern "C" void abort ();
-
 test_t b(void);
 
 int
 main(void)
 {
   if (test != b ())
-    abort ();
+    __builtin_abort ();
 
   printf ("OK\n");
   return 0;
This page took 0.024659 seconds and 4 git commands to generate.