Added foreach test cases for ExplicitInitializationCheck.

This commit is contained in:
Michael Studman 2005-04-17 11:39:30 +00:00
parent 662354a902
commit 9a15d83aa7
1 changed files with 10 additions and 0 deletions

View File

@ -57,4 +57,14 @@ enum InputExplicitInit3 {
int TOKEN_first = 0x00;
int TOKEN_second = 0x01;
int TOKEN_third = 0x02;
}
class ForEach {
public ForEach(Collection<String> strings)
{
for(String s : strings) //this should not even be checked
{
}
}
}