blob: aac5171a2bb8afb7236ce3a586a327b055582993 [file] [log] [blame]
library;
//
// Problems in library:
//
// 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;
// ^
//
import self as self;
import "dart:core" as core;
class C extends core::Object {
synthetic constructor •() self::C
: super core::Object::•()
;
operator unary-() dynamic
return 0;
}
static method main() dynamic {
new self::C::•();
}