Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(380)

Unified Diff: test/codegen/expect/language/mixin_implements2_test.js

Issue 2128353002: Check in codegen test expectations. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/codegen/expect/language/mixin_implements2_test.js
diff --git a/test/codegen/expect/language/mixin_implements2_test.js b/test/codegen/expect/language/mixin_implements2_test.js
new file mode 100644
index 0000000000000000000000000000000000000000..a70ec599b70d7d85a41cd684d0676c068a3fb878
--- /dev/null
+++ b/test/codegen/expect/language/mixin_implements2_test.js
@@ -0,0 +1,24 @@
+dart_library.library('language/mixin_implements2_test', null, /* Imports */[
+ 'dart_sdk'
+], function load__mixin_implements2_test(exports, dart_sdk) {
+ 'use strict';
+ const core = dart_sdk.core;
+ const dart = dart_sdk.dart;
+ const dartx = dart_sdk.dartx;
+ const mixin_implements2_test = Object.create(null);
+ let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [])))();
+ mixin_implements2_test.A = class A extends core.Object {};
+ mixin_implements2_test.S = class S extends core.Object {};
+ mixin_implements2_test.M = class M extends core.Object {};
+ mixin_implements2_test.C = class C extends dart.mixin(mixin_implements2_test.S, mixin_implements2_test.M) {
+ new() {
+ super.new();
+ }
+ };
+ mixin_implements2_test.main = function() {
+ new mixin_implements2_test.C();
+ };
+ dart.fn(mixin_implements2_test.main, VoidTovoid());
+ // Exports:
+ exports.mixin_implements2_test = mixin_implements2_test;
+});

Powered by Google App Engine
This is Rietveld 408576698