summaryrefslogtreecommitdiff
path: root/test/tools/dsymutil/Inputs/frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tools/dsymutil/Inputs/frame.c')
-rw-r--r--test/tools/dsymutil/Inputs/frame.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/tools/dsymutil/Inputs/frame.c b/test/tools/dsymutil/Inputs/frame.c
new file mode 100644
index 0000000000000..9ca082d4ae5d7
--- /dev/null
+++ b/test/tools/dsymutil/Inputs/frame.c
@@ -0,0 +1,10 @@
+int foo(int *f);
+
+int bar(int b) {
+ int var = b + 1;
+ return foo(&var);
+}
+
+int baz(int b) {
+ return bar(b);
+}