An example testcase for use in the debugger.  Currently you can do stuff like
stepping, next'ing, finish'ing, stacktraces, source listings, etc.  You can't
print program variables yet though.

Oh, and I lost my nice commented version of funccall.ll  :(

Test with:
llvm-as funccall.ll
llvm-db funccall.bc
<arguments>

This is not automatically testable yet, and the C front-end doesn't support
debug information yet.  That said, it's a start.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10689 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Debugger/funccall.c b/test/Debugger/funccall.c
new file mode 100644
index 0000000..cc36385
--- /dev/null
+++ b/test/Debugger/funccall.c
@@ -0,0 +1,14 @@
+
+static int q;
+
+void foo() {
+	int t = q;
+	q = t + 1;
+}
+int main() {
+	q = 0;
+	foo();
+	q = q - 1;
+
+	return q;
+}