diff options
author | Teddy <ted.sybil@gmail.com> | 2014-05-05 03:34:47 +0800 |
---|---|---|
committer | Teddy <ted.sybil@gmail.com> | 2014-05-05 03:34:47 +0800 |
commit | c77f0a1129fb34531b2d08c9518ee7def7213bb9 (patch) | |
tree | b3d724143ae99614089bca315034c7c84d0bb7bd /testbed | |
parent | 6586df0797ad60af031cb80889f8205b6adcdfe3 (diff) |
...
Diffstat (limited to 'testbed')
-rw-r--r-- | testbed/custom_opt.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testbed/custom_opt.c b/testbed/custom_opt.c new file mode 100644 index 0000000..d0126f3 --- /dev/null +++ b/testbed/custom_opt.c @@ -0,0 +1,9 @@ +int sum;
+void f() {
+ sum = 3;
+}
+int main() {
+ sum = 1;
+ f();
+ printf("%d\n", sum);
+}
|