blob: 0600a801bb280fbd91abb975c04e5e1d3526c181 [file] [log] [blame]
Josh Bleecher Snydera44becef2015-06-08 16:21:50 -07001// compile
2
3// Copyright 2015 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
7// Issue 10654: Failure to use generated temps
8// for function calls etc. in boolean codegen.
9
10package main
11
12var s string
13
14func main() {
15 if (s == "this") != (s == "that") {
16 }
17}