summaryrefslogtreecommitdiff
path: root/test/bounds.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/bounds.go')
-rw-r--r--test/bounds.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/bounds.go b/test/bounds.go
index 4a16f64d3d..50f7ad7419 100644
--- a/test/bounds.go
+++ b/test/bounds.go
@@ -247,10 +247,8 @@ func main() {
use(s[ui/1e6])
use(a1[ui/1e6])
use(a1k[ui/1e6])
- use(a100k[ui/1e6]) // ERROR "index bounds check elided"
use(p1[ui/1e6])
use(p1k[ui/1e6])
- use(p100k[ui/1e6]) // ERROR "index bounds check elided"
use(s[i/1e7])
use(a1[i/1e7])
@@ -262,12 +260,7 @@ func main() {
use(s[ui/1e7])
use(a1[ui/1e7])
- use(a1k[ui/1e7]) // ERROR "index bounds check elided"
- use(a100k[ui/1e7]) // ERROR "index bounds check elided"
use(p1[ui/1e7])
- use(p1k[ui/1e7]) // ERROR "index bounds check elided"
- use(p100k[ui/1e7]) // ERROR "index bounds check elided"
-
}
var sum int