blob: 0ae7e5618964c67849d9f3c948dc6eb027e4fb32 [file] [log] [blame]
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// Test division by power of two.
// Test that results before and after optimization are the same.
// @dart = 2.9
import "package:expect/expect.dart";
class Foo {
final Bar<Foo> bar = const Bar /* comment here use to trigger bug 323 */ ();
}
class Bar<T extends Foo> {
const Bar();
}
main() {
Expect.equals(new Foo().bar, const Bar());
}