Index: pkg/analyzer/test/src/summary/resynthesize_common.dart |
diff --git a/pkg/analyzer/test/src/summary/resynthesize_common.dart b/pkg/analyzer/test/src/summary/resynthesize_common.dart |
index c091db90431358a7f0000aa160b4bdb0fd8b1ced..3d0299da4c6e00199fffdec97641b0795ee78b5e 100644 |
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart |
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart |
@@ -4650,6 +4650,18 @@ bool f() => true; |
checkLibrary('dynamic d;'); |
} |
+ test_type_invalid_topLevelVariableElement_asType() { |
+ checkLibrary( |
+ ''' |
+class C<T extends V> {} |
+typedef V F(V p); |
+V f(V p) {} |
+V V2 = null; |
+int V = 0; |
+''', |
+ allowErrors: true); |
+ } |
+ |
test_type_invalid_typeParameter_asPrefix() { |
checkLibrary( |
''' |