blob: 9d15cd0db3b978d4e79f75d0ab77f5adaf9a2197 [file] [log] [blame] [edit]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/general/issue37776.dart:11:7: Error: 'X' is already declared in this scope.
// class X {
// ^
// pkg/front_end/testcases/general/issue37776.dart:7:7: Context: Previous declaration of 'X'.
// class X {
// ^
//
import self as self;
import "dart:core" as core;
class X extends core::Object /*hasConstConstructor*/ {
const constructor foo() self::X
: super core::Object::•()
;
}
class X#1 extends core::Object /*hasConstConstructor*/ {
const constructor foo() self::X#1
: super core::Object::•()
;
}
static method main() void
;