blob: 8c5531f007b34a638e63a7416e957827e799822a [file] [log] [blame]
// Copyright (c) 2019, 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.
// @dart=2.9
class Fisk {
Fisk(int x) {}
Fisk.named(int x) {}
void method(int x) {}
static void staticMethod(int x) {}
}
test() {
new Fisk();
new Fisk.named();
Fisk();
Fisk.named();
Fisk.staticMethod();
(null as Fisk).method();
}
main() {}