github.com/prattmic/llgo-embedded@v0.0.0-20150820070356-41cfecea0e1e/test/execution/strings/index.go (about)

     1  // RUN: llgo -o %t %s
     2  // RUN: %t 2>&1 | FileCheck %s
     3  
     4  // CHECK: 97 98 99
     5  
     6  package main
     7  
     8  func main() {
     9  	s := "abc"
    10  	println(s[0], s[1], s[2])
    11  }