aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/inline1/t3.c
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/inline1/t3.c')
-rw-r--r--llvm/tools/inline1/t3.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/tools/inline1/t3.c b/llvm/tools/inline1/t3.c
new file mode 100644
index 0000000..e138890
--- /dev/null
+++ b/llvm/tools/inline1/t3.c
@@ -0,0 +1,9 @@
+int foo(int a, int b);
+int goo(int a, int b);
+int small(int);
+
+int main() {
+ int s = small(3);
+ s =+ goo(3,2)* goo(5,1) * small(s*2);
+ return foo(s, s+1)- small(s+3);
+}