aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/preload1.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/preload1.c')
-rw-r--r--testsuite/preload1.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/preload1.c b/testsuite/preload1.c
new file mode 100644
index 0000000..d6ee489
--- /dev/null
+++ b/testsuite/preload1.c
@@ -0,0 +1,12 @@
+#include <stdlib.h>
+#include "preload1.h"
+
+int main()
+{
+ int rc = foo(2, 2);
+
+ if (rc != 0)
+ abort ();
+
+ exit (rc);
+}