summaryrefslogtreecommitdiff
path: root/cil/doc/examples/ex21.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cil/doc/examples/ex21.txt')
-rw-r--r--cil/doc/examples/ex21.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/cil/doc/examples/ex21.txt b/cil/doc/examples/ex21.txt
new file mode 100644
index 0000000..3f331e4
--- /dev/null
+++ b/cil/doc/examples/ex21.txt
@@ -0,0 +1,25 @@
+/* Generated by CIL v. 1.3.5 */
+/* print_CIL_Input is true */
+
+#line 1 "cilcode.tmp/ex21.c"
+int main(void)
+{ int x ;
+ int y ;
+ int z ;
+ int *tmp ;
+
+ {
+#line 2
+ if (x) {
+#line 2
+ tmp = & y;
+ } else {
+#line 2
+ tmp = & z;
+ }
+#line 2
+ x ++;
+#line 2
+ return (tmp - & x);
+}
+}