blob: 78914d705c5fc1eebcc8f8dc640022ba2e7adfe7 [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
}