Index: pkg/front_end/testcases/inference/inferred_type_custom_unary_op.dart |
diff --git a/pkg/front_end/testcases/inference/inferred_type_custom_unary_op.dart b/pkg/front_end/testcases/inference/inferred_type_custom_unary_op.dart |
index a2562e6328280414299bbae88fd3b5fcda7ba97f..5c2c0b2d1e2543269246333a77a655d5f474c073 100644 |
--- a/pkg/front_end/testcases/inference/inferred_type_custom_unary_op.dart |
+++ b/pkg/front_end/testcases/inference/inferred_type_custom_unary_op.dart |
@@ -9,5 +9,10 @@ class C { |
bool operator -() => true; |
} |
-C c; |
+C c = new C(); |
var /*@topType=bool*/ x = -c; |
+ |
+main() { |
+ c; |
+ x; |
+} |