summaryrefslogtreecommitdiffstats
path: root/tests/foo.c
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-09-29 12:03:56 (GMT)
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-09-29 12:03:56 (GMT)
commit0da4ea8b6510e0d00ccf1eb0c52599532d8c4bb3 (patch)
treedf46cf02ddc181cc75db90055bf9d4ed1aa96e79 /tests/foo.c
parent0177cc4483979b5b216240e0b1340ce97dd84113 (diff)
downloadpatchelf-0da4ea8b6510e0d00ccf1eb0c52599532d8c4bb3.zip
patchelf-0da4ea8b6510e0d00ccf1eb0c52599532d8c4bb3.tar.gz
patchelf-0da4ea8b6510e0d00ccf1eb0c52599532d8c4bb3.tar.bz2
* Add tests.
Diffstat (limited to 'tests/foo.c')
-rw-r--r--tests/foo.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/foo.c b/tests/foo.c
new file mode 100644
index 0000000..be71954
--- /dev/null
+++ b/tests/foo.c
@@ -0,0 +1,9 @@
+#include <stdio.h>
+
+int bar();
+
+int foo()
+{
+ printf("This is foo()!\n");
+ return 12 + bar();
+}