Skip to content

Commit 5e30c65

Browse files
committed
Add a test for class literals
1 parent d1f49db commit 5e30c65

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/corpus/literals.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,3 +307,15 @@ ascii escapes
307307
(expression_statement (character_literal))
308308
(expression_statement (character_literal))
309309
(expression_statement (character_literal)))
310+
311+
========================
312+
class literals
313+
========================
314+
315+
String.class;
316+
317+
---
318+
319+
(program
320+
(expression_statement
321+
(class_literal (type_identifier))))

0 commit comments

Comments
 (0)