blob: 1e31843218d1c1693ef4d751f4cd5c7f050e4fcf [file] [log] [blame]
// @dart = 2.6
class Class {
Class field;
Class method() => field;
Class operator +(int value) => field;
Class operator -() => field;
Class operator [](Class key) => field;
void operator []=(Class key, Class value) {}
}
main() {}
void ifNull(Class c) {}
void indexAccess(Class c) {}
void operatorAccess(Class c) {}
void propertyAccess(Class c) {}
void throws(void Function() f) {}