summaryrefslogtreecommitdiffstats
path: root/test cases/common/88 dep fallback/tester.c
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/common/88 dep fallback/tester.c')
-rw-r--r--test cases/common/88 dep fallback/tester.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/test cases/common/88 dep fallback/tester.c b/test cases/common/88 dep fallback/tester.c
new file mode 100644
index 0000000..a46f3f6
--- /dev/null
+++ b/test cases/common/88 dep fallback/tester.c
@@ -0,0 +1,14 @@
+#include"bob.h"
+#include"genbob.h"
+#include<string.h>
+#include<stdio.h>
+
+int main(void) {
+ if(strcmp("bob", get_bob()) == 0) {
+ printf("Bob is indeed bob.\n");
+ } else {
+ printf("ERROR: bob is not bob.\n");
+ return 1;
+ }
+ return 0;
+}