aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test5
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2015-07-15 15:45:22 +0900
committerchibash <chiba@javassist.org>2015-07-15 15:45:22 +0900
commitecd733a236b3963c36ad869e05d14d1f49e99a92 (patch)
treeaaee0c11e59c0490f86e8e424c049aa9f65769c3 /src/test/test5
parent11ef0b953e5e8fddf76fd4ab5fc1628fcbf1be1d (diff)
downloadjavassist-ecd733a236b3963c36ad869e05d14d1f49e99a92.tar.gz
javassist-ecd733a236b3963c36ad869e05d14d1f49e99a92.zip
fixed JIRA JASSIST-249
Diffstat (limited to 'src/test/test5')
-rw-r--r--src/test/test5/BoolTest.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/test5/BoolTest.java b/src/test/test5/BoolTest.java
new file mode 100644
index 00000000..0d9ca154
--- /dev/null
+++ b/src/test/test5/BoolTest.java
@@ -0,0 +1,15 @@
+package test5;
+
+public class BoolTest {
+ static boolean i = false;
+ public boolean test() {
+ return i;
+ }
+ public boolean foo(boolean b) { return b; }
+ public int run() {
+ if (test())
+ return 1;
+ else
+ return 0;
+ }
+}