aboutsummaryrefslogtreecommitdiff
path: root/compile_data/custom_subexp.c
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-05-07 03:17:32 +0800
committerTeddy <ted.sybil@gmail.com>2014-05-07 03:17:32 +0800
commit52b29440f8f1310e0c074c8eb409e433c56bdd62 (patch)
tree6d91ceeb6594fe337541ed3f9f50cd33ee8881ca /compile_data/custom_subexp.c
parent0ac22f0214ee283ce9bb053d691aeac823f875be (diff)
rename
Diffstat (limited to 'compile_data/custom_subexp.c')
-rw-r--r--compile_data/custom_subexp.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/compile_data/custom_subexp.c b/compile_data/custom_subexp.c
new file mode 100644
index 0000000..bce5bdb
--- /dev/null
+++ b/compile_data/custom_subexp.c
@@ -0,0 +1,9 @@
+int N = 0;
+void f() { N = 2; }
+int main() {
+ int a, b;
+ a = N + 1;
+ f();
+ b = N + 1;
+ printf("%d\n", b);
+}