Index: tests/compiler/dart2js/unparser_test.dart |
diff --git a/tests/compiler/dart2js/unparser_test.dart b/tests/compiler/dart2js/unparser_test.dart |
index 441269e2013caf29c2d03157170ead52e35fe99f..cecb766a777981f167c8695d837f4eacb6736112 100644 |
--- a/tests/compiler/dart2js/unparser_test.dart |
+++ b/tests/compiler/dart2js/unparser_test.dart |
@@ -287,6 +287,23 @@ testClassDeclarations() { |
testUnparseTopLevelWithMetadata('class Fisk{operator-(x){}}'); |
} |
+testMixinApplications() { |
+ testUnparseTopLevelWithMetadata('typedef C = S with M;'); |
+ testUnparseTopLevelWithMetadata('typedef C = S with M1,M2;'); |
+ testUnparseTopLevelWithMetadata('typedef C = S with M1,M2,M3;'); |
+ |
+ testUnparseTopLevelWithMetadata('typedef C<A> = S with M;'); |
+ testUnparseTopLevelWithMetadata('typedef C<A,B> = S with M;'); |
+ |
+ testUnparseTopLevelWithMetadata('typedef C = S<A> with M;'); |
+ testUnparseTopLevelWithMetadata('typedef C = S<A,B> with M;'); |
+ |
+ testUnparseTopLevelWithMetadata('typedef C = S with M<A>;'); |
+ testUnparseTopLevelWithMetadata('typedef C = S with M<A,B>;'); |
+ testUnparseTopLevelWithMetadata('typedef C = S with M1<A>,M2;'); |
+ testUnparseTopLevelWithMetadata('typedef C = S with M1,M2<A,B>;'); |
+} |
+ |
main() { |
testSignedConstants(); |
testGenericTypes(); |
@@ -306,4 +323,5 @@ main() { |
testCombinators(); |
testRedirectingFactoryConstructors(); |
testClassDeclarations(); |
+ testMixinApplications(); |
} |