Index: pkg/analyzer/test/generated/parser_test.dart |
diff --git a/pkg/analyzer/test/generated/parser_test.dart b/pkg/analyzer/test/generated/parser_test.dart |
index 1f593b5d470a4c2c09334d8bcb1593073aef31e8..770b71954d47398a9c0ee2724ed70c9f67022d80 100644 |
--- a/pkg/analyzer/test/generated/parser_test.dart |
+++ b/pkg/analyzer/test/generated/parser_test.dart |
@@ -9196,6 +9196,14 @@ class SimpleParserTest extends ParserTestCase { |
JUnitTestCase.assertEquals("a", components[0].lexeme); |
} |
+ void test_parseSymbolLiteral_void() { |
+ SymbolLiteral literal = ParserTestCase.parse4("parseSymbolLiteral", "#void", []); |
+ JUnitTestCase.assertNotNull(literal.poundSign); |
+ List<Token> components = literal.components; |
+ EngineTestCase.assertLength(1, components); |
+ JUnitTestCase.assertEquals("void", components[0].lexeme); |
+ } |
+ |
void test_parseThrowExpression() { |
ThrowExpression expression = ParserTestCase.parse4("parseThrowExpression", "throw x;", []); |
JUnitTestCase.assertNotNull(expression.keyword); |
@@ -11936,6 +11944,10 @@ class SimpleParserTest extends ParserTestCase { |
final __test = new SimpleParserTest(); |
runJUnitTest(__test, __test.test_parseSymbolLiteral_single); |
}); |
+ _ut.test('test_parseSymbolLiteral_void', () { |
+ final __test = new SimpleParserTest(); |
+ runJUnitTest(__test, __test.test_parseSymbolLiteral_void); |
+ }); |
_ut.test('test_parseThrowExpression', () { |
final __test = new SimpleParserTest(); |
runJUnitTest(__test, __test.test_parseThrowExpression); |