forked from phoedos/pmd
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:
parent
72cc961ca8
commit
d20f8f2291
@ -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>
|
Loading…
x
Reference in New Issue
Block a user