summaryrefslogtreecommitdiff
path: root/cil/doc/examples/ex43.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cil/doc/examples/ex43.txt')
-rw-r--r--cil/doc/examples/ex43.txt46
1 files changed, 46 insertions, 0 deletions
diff --git a/cil/doc/examples/ex43.txt b/cil/doc/examples/ex43.txt
new file mode 100644
index 0000000..4104f79
--- /dev/null
+++ b/cil/doc/examples/ex43.txt
@@ -0,0 +1,46 @@
+/* Generated by CIL v. 1.3.5 */
+/* print_CIL_Input is true */
+
+#line 1 "cilcode.tmp/ex43.c"
+__inline static int foo__extinline(void)
+{
+
+ {
+#line 1
+ return (1);
+}
+}
+#line 2 "cilcode.tmp/ex43.c"
+int firstuse(void)
+{ int tmp ;
+
+ {
+#line 2
+ tmp = foo__extinline();
+#line 2
+ return (tmp);
+}
+}
+#line 5 "cilcode.tmp/ex43.c"
+int foo(void)
+{
+
+ {
+#line 5
+ return (2);
+}
+}
+#line 7 "cilcode.tmp/ex43.c"
+int main(void)
+{ int tmp ;
+ int tmp___0 ;
+
+ {
+#line 8
+ tmp = foo();
+#line 8
+ tmp___0 = firstuse();
+#line 8
+ return (tmp + tmp___0);
+}
+}