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

Unified Diff: tests/language/export_not_shadowed_by_prefix_helper2.dart

Issue 1585753002: Verify that import prefixes don't shadow exports. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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: tests/language/export_not_shadowed_by_prefix_helper2.dart
diff --git a/runtime/vm/libdart_dependency_helper.cc b/tests/language/export_not_shadowed_by_prefix_helper2.dart
similarity index 57%
copy from runtime/vm/libdart_dependency_helper.cc
copy to tests/language/export_not_shadowed_by_prefix_helper2.dart
index ccf26c829687f4cbbbe80f5c9a074d075613a2be..ae2dca5fcf0a4842b29e20d7652b35b6bfd65cfc 100644
--- a/runtime/vm/libdart_dependency_helper.cc
+++ b/tests/language/export_not_shadowed_by_prefix_helper2.dart
@@ -1,8 +1,9 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2016, the Dart project authors. 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.
-int main(int argc, char *argv[]) {
- return 0;
+void f() {
+ f_called = true;
}
+bool f_called = false;
« no previous file with comments | « tests/language/export_not_shadowed_by_prefix_helper.dart ('k') | tests/language/export_not_shadowed_by_prefix_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698