summaryrefslogtreecommitdiffstats
path: root/llgo/test/execution/strings/index.go
blob: dca7ddf8f106da99ef734644d48efb6185583a1b (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: llgo -o %t %s
// RUN: %t 2>&1 | FileCheck %s

// CHECK: 97 98 99

package main

func main() {
	s := "abc"
	println(s[0], s[1], s[2])
}
OpenPOWER on IntegriCloud