Johnni Winther | 94fc113 | 2018-01-17 10:19:53 +0000 | [diff] [blame] | 1 | // Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file |
| 2 | // for details. All rights reserved. Use of this source code is governed by a |
| 3 | // BSD-style license that can be found in the LICENSE file. |
| 4 | |
Joshua Litt | b69e1fd | 2020-03-21 16:12:36 +0000 | [diff] [blame] | 5 | // @dart = 2.7 |
| 6 | |
Johnni Winther | 4ceefdb | 2019-07-04 12:53:55 +0000 | [diff] [blame] | 7 | /*member: B.:[main]*/ |
Johnni Winther | 94fc113 | 2018-01-17 10:19:53 +0000 | [diff] [blame] | 8 | class A { |
Johnni Winther | 4ceefdb | 2019-07-04 12:53:55 +0000 | [diff] [blame] | 9 | /*member: A.field:[main]*/ |
Johnni Winther | 94fc113 | 2018-01-17 10:19:53 +0000 | [diff] [blame] | 10 | var field; |
| 11 | } |
| 12 | |
Johnni Winther | 4ceefdb | 2019-07-04 12:53:55 +0000 | [diff] [blame] | 13 | /*member: A.:[main]*/ |
Johnni Winther | 94fc113 | 2018-01-17 10:19:53 +0000 | [diff] [blame] | 14 | class B { |
Johnni Winther | 4ceefdb | 2019-07-04 12:53:55 +0000 | [diff] [blame] | 15 | /*member: B.field:[main]*/ |
Johnni Winther | 94fc113 | 2018-01-17 10:19:53 +0000 | [diff] [blame] | 16 | var field; |
| 17 | } |
| 18 | |
| 19 | main() { |
| 20 | new A().field; |
| 21 | new B().field; |
| 22 | } |