| Index: compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java
|
| diff --git a/compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java b/compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java
|
| index 5b4ab919fcf3fd88805102ca36d7190e31d05e6e..35db544a5135fa1586f8db3e4ef93ebcc6096c08 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java
|
| @@ -1522,4 +1522,12 @@ public class SyntaxTest extends AbstractParserTest {
|
| "typedef func(final arg());",
|
| ParserErrorCode.FUNCTION_TYPED_PARAMETER_IS_FINAL, 1, 20);
|
| }
|
| +
|
| + public void test_export_withoutLibraryDirective() {
|
| + parseUnit("test.dart", Joiner.on("\n").join(
|
| + "// filler filler filler filler filler filler filler filler filler filler",
|
| + "export 'Lib.dart';",
|
| + ""),
|
| + ParserErrorCode.EXPORT_WITHOUT_LIBRARY_DIRECTIVE, 2, 1);
|
| + }
|
| }
|
|
|