aboutsummaryrefslogtreecommitdiff
path: root/testbed/custom_subexp2.c
diff options
context:
space:
mode:
authorTeddy <[email protected]>2014-05-07 03:17:32 +0800
committerTeddy <[email protected]>2014-05-07 03:17:32 +0800
commit52b29440f8f1310e0c074c8eb409e433c56bdd62 (patch)
tree6d91ceeb6594fe337541ed3f9f50cd33ee8881ca /testbed/custom_subexp2.c
parent0ac22f0214ee283ce9bb053d691aeac823f875be (diff)
rename
Diffstat (limited to 'testbed/custom_subexp2.c')
-rw-r--r--testbed/custom_subexp2.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/testbed/custom_subexp2.c b/testbed/custom_subexp2.c
deleted file mode 100644
index 1e4af93..0000000
--- a/testbed/custom_subexp2.c
+++ /dev/null
@@ -1,10 +0,0 @@
-int flag = 0;
-int check(int x, int y) {
- return x > 0 && y > 0 && (flag ^= 1);
-}
-int main() {
- int x = 1, y = 2;
- printf("%d\n", check(x, y));
- printf("%d\n", check(x, y));
- printf("%d\n", check(x, y));
-}