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 51670bf5669e8d04c8aea022dd2bba77f72b91db..326d1fa69380fc0af9424362d5647a6c673cd0ee 100644 |
--- a/tests/compiler/dart2js/serialization/test_data.dart |
+++ b/tests/compiler/dart2js/serialization/test_data.dart |
@@ -369,6 +369,12 @@ main() { |
void foo() {} |
''', |
}), |
+ |
+ const Test('fromEnvironment constants', const { |
+ 'main.dart': ''' |
+main() => const String.fromEnvironment("foo"); |
+''', |
+ }), |
]; |
class Test { |