Index: pkg/front_end/testcases/inference/infer_prefix_expression_custom.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/infer_prefix_expression_custom.dart.direct.expect b/pkg/front_end/testcases/inference/infer_prefix_expression_custom.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2d0c29c5aa15a69a115a97f8dc7e5421756ba4f0 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/infer_prefix_expression_custom.dart.direct.expect |
@@ -0,0 +1,21 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+class A extends core::Object { |
+ constructor •() → void |
+ : super core::Object::•() |
+ ; |
+ operator ~() → core::int |
+ return 1; |
+ operator unary-() → core::double |
+ return 2.0; |
+} |
+static field dynamic a = new self::A::•(); |
+static field dynamic v_complement = self::a.~(); |
+static field dynamic v_negate = self::a.unary-(); |
+static method main() → dynamic { |
+ self::a; |
+ self::v_complement; |
+ self::v_negate; |
+} |