Index: compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java |
diff --git a/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java b/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java |
index 58de1a61b769a4fe0a3a36a81d12c69187ec1d07..b04a4f277380f2fc59dbd4e2bd0089ff50181f61 100644 |
--- a/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java |
+++ b/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java |
@@ -767,4 +767,14 @@ public class NegativeParserTest extends CompilerTestCase { |
""), |
errEx(ParserErrorCode.NATIVE_ONLY_CORE_LIB, 3, 15, 6)); |
} |
+ |
+ public void test_qualifiedType_inForIn() { |
+ parseExpectErrors(Joiner.on("\n").join( |
+ "// filler filler filler filler filler filler filler filler filler filler", |
+ "foo() {", |
+ " for (pref.A a in elements) {", |
+ " }", |
+ "}", |
+ "")); |
+ } |
} |