Sign in
llvm
/
llvm-project
/
llgo
/
eec8804ea7e8a2798a5f4d2f1e06f2fdf9885e59
/
.
/
test
/
execution
/
slices
/
index.go
blob: 20d213e1a4ee7c93584d282be80ba0099ea36552 [
file
] [
log
] [
blame
]
// RUN: llgo -o %t %s
// RUN: %t 2>&1 | FileCheck %s
// CHECK: 0
package main
func blah() []int {
return make([]int, 1)
}
func main() {
println(blah()[0])
}