summaryrefslogtreecommitdiffstats
path: root/llgo/test/execution/interfaces/comparei2v.go
blob: 6547360e60e9ac4e52e8cda4c2b50c0407d5e517 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: llgo -o %t %s
// RUN: %t 2>&1 | FileCheck %s

// CHECK: true
// CHECK-NEXT: false

package main

func main() {
	var x interface{} = 123
	println(x == 123)
	println(x != 123)
}
OpenPOWER on IntegriCloud