blob: d54e30202af68af6b262766c4f4314fa99483dfd [file] [log] [blame]
// Copyright (c) 2017, 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.
library test;
class C {
bool operator -() => true;
C c = new C();
var /*@topType=bool*/ x = /*@target=C::unary-*/ -c;
main() {