blob: c09214ed13e25939ca0cea1eb03862a6ca850b1e [file] [log] [blame]
// Errors:
//
// pkg/front_end/testcases/regress/issue_31183.dart:6:12: Error: Unexpected token 'unary'.
// operator unary- => 0;
// ^^^^^
//
// pkg/front_end/testcases/regress/issue_31183.dart:6:17: Error: A method declaration needs an explicit list of parameters.
// Try adding a parameter list to the method declaration.
// operator unary- => 0;
// ^
library;
import self as self;
import "dart:core" as core;
class C extends core::Object {
synthetic constructor •() void
: super core::Object::•()
;
operator unary-() dynamic
return 0;
}
static method main() dynamic {
new self::C::•();
}