blob: 3903e19c1f96aa3ff68951fb09b11dd586886b1b [file] [log] [blame]
import "load_library_wrong_args_lib.dart" deferred as lib;
void main() {
// Loadlibrary should be called without arguments.
lib.loadLibrary(10);
//^
// [cfe] 'loadLibrary' takes no arguments.
// ^^
// [analyzer] COMPILE_TIME_ERROR.EXTRA_POSITIONAL_ARGUMENTS
}