blob: fa4975bc2ca8059f92411595d1bcb1330b43d8cc [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.
/// @assertion
/// Description Operator Associativity Precedence
/// Relational is! None 8
/// @description Test that 'is!' relational operator has no associativity. It is
/// compile error to expect any associativity from it
/// @author sgrekhov@unipro.ru
main() {
int a = 0;
var b = a is! double is! bool;
// ^
// [analyzer] unspecified
// [cfe] unspecified
}