blob: 403a14f0039f60eeae53276c42336803e00af445 [file] [log] [blame]
Johnni Winther94fc1132018-01-17 10:19:53 +00001// 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 Littb69e1fd2020-03-21 16:12:36 +00005// @dart = 2.7
6
Johnni Winther4ceefdb2019-07-04 12:53:55 +00007/*member: B.:[main]*/
Johnni Winther94fc1132018-01-17 10:19:53 +00008class A {
Johnni Winther4ceefdb2019-07-04 12:53:55 +00009 /*member: A.field:[main]*/
Johnni Winther94fc1132018-01-17 10:19:53 +000010 var field;
11}
12
Johnni Winther4ceefdb2019-07-04 12:53:55 +000013/*member: A.:[main]*/
Johnni Winther94fc1132018-01-17 10:19:53 +000014class B {
Johnni Winther4ceefdb2019-07-04 12:53:55 +000015 /*member: B.field:[main]*/
Johnni Winther94fc1132018-01-17 10:19:53 +000016 var field;
17}
18
19main() {
20 new A().field;
21 new B().field;
22}