Index: test/codegen/expect/language/getter_override2_test_01_multi.js |
diff --git a/test/codegen/expect/language/getter_override2_test_01_multi.js b/test/codegen/expect/language/getter_override2_test_01_multi.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b3b5bf48f38095dbbd3ba95547cddd8464ab8b9e |
--- /dev/null |
+++ b/test/codegen/expect/language/getter_override2_test_01_multi.js |
@@ -0,0 +1,28 @@ |
+dart_library.library('language/getter_override2_test_01_multi', null, /* Imports */[ |
+ 'dart_sdk', |
+ 'expect' |
+], function load__getter_override2_test_01_multi(exports, dart_sdk, expect) { |
+ 'use strict'; |
+ const core = dart_sdk.core; |
+ const dart = dart_sdk.dart; |
+ const dartx = dart_sdk.dartx; |
+ const expect$ = expect.expect; |
+ const getter_override2_test_01_multi = Object.create(null); |
+ let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))(); |
+ getter_override2_test_01_multi.A = class A extends core.Object { |
+ get foo() { |
+ return 42; |
+ } |
+ }; |
+ getter_override2_test_01_multi.B = class B extends getter_override2_test_01_multi.A { |
+ get foo() { |
+ return 42; |
+ } |
+ }; |
+ getter_override2_test_01_multi.main = function() { |
+ expect$.Expect.equals(42, new getter_override2_test_01_multi.B().foo); |
+ }; |
+ dart.fn(getter_override2_test_01_multi.main, VoidTodynamic()); |
+ // Exports: |
+ exports.getter_override2_test_01_multi = getter_override2_test_01_multi; |
+}); |