blob: 664a692a6dd1eae2a1f65216274278bbc49f3ca6 [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/control_flow_collection.dart:8:7: Error: Unexpected token 'if'.
// if (oracle()) 2,
// ^^
//
// pkg/front_end/testcases/control_flow_collection.dart:9:7: Error: Unexpected token 'if'.
// if (oracle()) 3 else -1,
// ^^
//
// pkg/front_end/testcases/control_flow_collection.dart:10:21: Error: Unexpected token 'if'.
// if (oracle()) if (oracle()) 4
// ^^
//
// pkg/front_end/testcases/control_flow_collection.dart:10:7: Error: Unexpected token 'if'.
// if (oracle()) if (oracle()) 4
// ^^
//
// pkg/front_end/testcases/control_flow_collection.dart:14:7: Error: Unexpected token 'if'.
// if (oracle()) 2,
// ^^
//
// pkg/front_end/testcases/control_flow_collection.dart:15:7: Error: Unexpected token 'if'.
// if (oracle()) 3 else -1,
// ^^
//
// pkg/front_end/testcases/control_flow_collection.dart:16:21: Error: Unexpected token 'if'.
// if (oracle()) if (oracle()) 4
// ^^
//
// pkg/front_end/testcases/control_flow_collection.dart:16:7: Error: Unexpected token 'if'.
// if (oracle()) if (oracle()) 4
// ^^
//
import self as self;
import "dart:core" as core;
static method main() dynamic {
final dynamic aList = <core::int>[1];
final dynamic aSet = <core::int>{1};
core::print(aList);
core::print(aSet);
}
static method oracle() dynamic
return true;