blob: f6f124f2e8aaed1a72c0561a60c2614ce27e6f9b [file] [log] [blame]
Russ Coxa7f6d402009-01-26 09:56:42 -08001// $G $D/$F.go && $L $F.$A && ! ./$A.out
2
3// Copyright 2009 The Go Authors. All rights reserved.
4// Use of this source code is governed by a BSD-style
5// license that can be found in the LICENSE file.
6
7package main
8
9func use(bool) { }
10
Robert Griesemer542099d2009-12-09 19:27:08 -080011func main() {
Rob Pike4f61fc92010-09-04 10:36:13 +100012 var a []int
13 var ia interface{} = a
14 use(ia == ia)
Russ Coxa7f6d402009-01-26 09:56:42 -080015}