diff --git a/compiler/testData/diagnostics/tests/deparenthesize/ArrayAccessAssignment.kt b/compiler/testData/diagnostics/tests/deparenthesize/ArrayAccessAssignment.kt new file mode 100644 index 00000000000..7384ca50dcb --- /dev/null +++ b/compiler/testData/diagnostics/tests/deparenthesize/ArrayAccessAssignment.kt @@ -0,0 +1,5 @@ +package t + +fun foo(array: Array) { + (array[0] : Int) = 22 +} \ No newline at end of file