blob: ac733f19034330c14bd731149a300a53ab33471c [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/regress/issue_36793.dart:10:5: Error: 'x' is already declared in this scope.
// int x = 2;
// ^
// pkg/front_end/testcases/regress/issue_36793.dart:8:5: Context: Previous declaration of 'x'.
// int x = 1;
// ^
//
import self as self;
import "dart:core" as core;
static const field core::int* y = #C1;
@#C1
static field core::int* x;
static method main() dynamic {
core::print(#C1);
}
constants {
#C1 = 42
}