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