summaryrefslogtreecommitdiff
path: root/Tests/ObjectLibrary/LinkObjects/e_obj.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ObjectLibrary/LinkObjects/e_obj.c')
-rw-r--r--Tests/ObjectLibrary/LinkObjects/e_obj.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/ObjectLibrary/LinkObjects/e_obj.c b/Tests/ObjectLibrary/LinkObjects/e_obj.c
new file mode 100644
index 000000000..02624ebfc
--- /dev/null
+++ b/Tests/ObjectLibrary/LinkObjects/e_obj.c
@@ -0,0 +1,8 @@
+#ifndef OBJE
+# error "OBJE is not defined, but should be"
+#endif
+extern int e_dep(void);
+int e_obj(void)
+{
+ return e_dep();
+}