blob: 5680368b212d2fdb1a33b34b6145cd1d51f8b724 [file] [log] [blame]
// Copyright (c) 2016, 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.
// @dart = 2.9
/// @assertion
/// Description Operator Associativity Precedence
/// Equality != None 7
/// @description Test that '!=' equality operator has no associativity. It is
/// compile error to expect any associativity from it
/// @author sgrekhov@unipro.ru
main() {
var v = 1 != 2 != 3;
// ^
// [analyzer] unspecified
// [cfe] unspecified
}