| /* |
| * Copyright (c) 2015, 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. |
| */ |
| /** |
| * @assertion Otherwise, the body of f is executed with this bound to o. The |
| * value of i is the result returned by the call to the getter function. |
| * @description Check that extracted getter value is call of |
| * the getter function. Test library class |
| * @author sgrekhov@unipro.ru |
| */ |
| import '../../../../Utils/expect.dart'; |
| import 'instance_of_type_lib.dart' as lib; |
| |
| main() { |
| lib.C c = new lib.C(); |
| var f = c.g; |
| Expect.equals(20, f); |
| } |