Source file test/fixedbugs/issue10654.go
1 // 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 10 package main 11 12 var s string 13 14 func main() { 15 if (s == "this") != (s == "that") { 16 } 17 } 18