]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/go/types/testdata/stmt0.src
[dev.typeparams] merge master (2f0da6d) into dev.typeparams
[gostls13.git] / src / go / types / testdata / stmt0.src
index 297e34be421ccc26a9d31c174142da0cf8ea0cad..2602d7dacf4daa450a67c235a07041b701d78ad9 100644 (file)
@@ -90,7 +90,7 @@ func assignments1() {
 
        // assignments to _
        _ = nil /* ERROR "use of untyped nil" */
-       _ = 1 /* ERROR overflow */ <<1000
+       _ = 1  << /* ERROR constant shift overflow */ 1000
        (_) = 0
 }