Test case to reproduce [1622281 ] Loop scoping dodgy

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@6809 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Romain Pelisse 2009-01-29 13:21:34 +00:00
parent 72cc961ca8
commit d20f8f2291

View File

@ -127,4 +127,17 @@ public class Foo {
}
]]></code>
</test-code-->
<test-code regressionTest="false">
<description><![CDATA[
[1622281 ] Loop scoping dodgy
]]></description>
<expected-problems>0</expected-problems>
<code><![CDATA[
for (byte[] buf = new byte[256];;) {
break;
}
]]></code>
</test-code>
</test-data>