Index: tests/compiler/dart2js/serialization/test_data.dart |
diff --git a/tests/compiler/dart2js/serialization/test_data.dart b/tests/compiler/dart2js/serialization/test_data.dart |
index 96efc314d69b20f952938857e13e33e98aeb1229..252e6653fc791d7233bafbee988d20f670b3af5a 100644 |
--- a/tests/compiler/dart2js/serialization/test_data.dart |
+++ b/tests/compiler/dart2js/serialization/test_data.dart |
@@ -316,6 +316,17 @@ main() {} |
''', |
}, |
expectedWarningCount: 1), |
+ |
+ const Test('Serialized symbol literal', const { |
+ 'main.dart': ''' |
+import 'lib.dart'; |
+main() => m(); |
+''', |
+ }, preserializedSourceFiles: const { |
+ 'lib.dart': ''' |
+m() => print(#main); |
+''', |
+ }), |
]; |
class Test { |