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

Unified Diff: tests/compiler/dart2js_extra/interop_anonymous_unreachable_test.dart

Issue 1454273002: Add test for crash with js-interop @anonymous feature (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « tests/compiler/dart2js_extra/dart2js_extra.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js_extra/interop_anonymous_unreachable_test.dart
diff --git a/tests/compiler/dart2js_extra/interop_anonymous_unreachable_test.dart b/tests/compiler/dart2js_extra/interop_anonymous_unreachable_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..b734491e654758c1b47b36687133d78bbfb75e97
--- /dev/null
+++ b/tests/compiler/dart2js_extra/interop_anonymous_unreachable_test.dart
@@ -0,0 +1,14 @@
+// Copyright (c) 2015, Google Inc. Please see the AUTHORS file for details.
+// All rights reserved. Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+import 'package:js/js.dart';
+
+@JS()
+@anonymous
+class A {
+ external bool get value;
+ external factory A({bool value});
Siggi Cherem (dart-lang) 2015/11/18 23:44:58 technically you don't even need this argument/fiel
+}
+
+void main() {}
« no previous file with comments | « tests/compiler/dart2js_extra/dart2js_extra.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698