blob: d833aed9520e96b38d17a4b9c1028463057223fd [file] [log] [blame]
/*
* Copyright (c) 2020, 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 It is a compile time error to read a local variable when the
* variable is definitely unassigned unless the variable is non-final, and
* non-late, and has nullable type.
*
* @description Checks that it's a compile time error to read a local variable
* when the variable is definitely unassigned. Test triple shift
*
* @author sgrekhov@unipro.ru
*/
main() {
int x;
x >>>= 2;
//^
// [analyzer] unspecified
// [cfe] unspecified
}