diff options
author | Dan Willemsen <dwillemsen@google.com> | 2017-01-19 15:06:31 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2017-01-19 15:06:31 -0800 |
commit | 1d8b74d1ad3854bdaf8ede7e223c3d015ec96628 (patch) | |
tree | 5975b3b7456aaa35207570620d7de7b226fd2140 /test | |
parent | bbdf6646ffb911ac36720a9ec09f80dd31429b33 (diff) | |
download | platform_prebuilts_go_linux-x86-1d8b74d1ad3854bdaf8ede7e223c3d015ec96628.tar.gz platform_prebuilts_go_linux-x86-1d8b74d1ad3854bdaf8ede7e223c3d015ec96628.tar.bz2 platform_prebuilts_go_linux-x86-1d8b74d1ad3854bdaf8ede7e223c3d015ec96628.zip |
Update prebuilts to go1.8rc2 ab/3654939
Test: m -j blueprint_tools
Change-Id: I4b7de658b66bbc9103adfb4e2b31fb08deef9c70
Diffstat (limited to 'test')
-rw-r--r-- | test/fixedbugs/issue18661.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/fixedbugs/issue18661.go b/test/fixedbugs/issue18661.go new file mode 100644 index 00000000..8c837752 --- /dev/null +++ b/test/fixedbugs/issue18661.go @@ -0,0 +1,18 @@ +// compile + +// Copyright 2017 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package p + +var ( + e interface{} + s = struct{ a *int }{} + b = e == s +) + +func test(obj interface{}) { + if obj != struct{ a *string }{} { + } +} |