| // |
| // Problems in component: |
| // |
| // pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_dill/strong_lib.dart: Error: A library can't opt out of null safety by default, when using sound null safety. |
| // |
| library /*isNonNullableByDefault*/; |
| import self as self; |
| import "strong_lib.dart" as str; |
| |
| import "org-dartlang-testcase:///strong_lib.dart"; |
| |
| static method main() → dynamic { |
| str::foo(); |
| } |
| |
| library; |
| import self as str; |
| import "dart:core" as core; |
| |
| static field core::int* x; |
| static method foo() → void { |
| core::print("hello"); |
| } |