Warning for unused function literal in do..while

This commit is contained in:
Mikhael Bogdanov
2013-03-20 11:33:48 +04:00
parent 8e5f0abb84
commit 79bf174e93
3 changed files with 18 additions and 0 deletions
@@ -1849,6 +1849,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/functionLiterals/kt2906.kt");
}
@TestMetadata("unusedLiteral.kt")
public void testUnusedLiteral() throws Exception {
doTest("compiler/testData/diagnostics/tests/functionLiterals/unusedLiteral.kt");
}
}
@TestMetadata("compiler/testData/diagnostics/tests/generics")