Author: ggregory
Date: Mon Oct 16 20:32:38 2017
New Revision: 1812324

URL: http://svn.apache.org/viewvc?rev=1812324&view=rev
Log:
[BCEL-295] Fix local variable live range length; add test case. This closes #17.

Added:
    
commons/proper/bcel/trunk/src/test/java/org/apache/bcel/data/PLSETestClass2.java

Added: 
commons/proper/bcel/trunk/src/test/java/org/apache/bcel/data/PLSETestClass2.java
URL: 
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/test/java/org/apache/bcel/data/PLSETestClass2.java?rev=1812324&view=auto
==============================================================================
--- 
commons/proper/bcel/trunk/src/test/java/org/apache/bcel/data/PLSETestClass2.java
 (added)
+++ 
commons/proper/bcel/trunk/src/test/java/org/apache/bcel/data/PLSETestClass2.java
 Mon Oct 16 20:32:38 2017
@@ -0,0 +1,30 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package org.apache.bcel.data;
+
+public class PLSETestClass2
+{
+    public static void main(String args[]) {
+        int t = 0;
+
+        for (int i = 0; i < 100; i++) {
+            t += i;
+        }
+    }
+}


Reply via email to