]> Cypherpunks repositories - gostls13.git/commit
test: add test that fails with gofrontend
authorIan Lance Taylor <iant@golang.org>
Tue, 13 Oct 2020 00:19:49 +0000 (17:19 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 13 Oct 2020 22:50:26 +0000 (22:50 +0000)
commite43ef8dda2d2baeca7f42a50cc92f527e6826b9f
tree0034d2ae75238047030581f59bc6da2214f31431
parent85bb4294c07cc63fb21743594f3c7872387ff0f4
test: add test that fails with gofrontend

The gofrontend code doesn't correctly handle inlining a function that
refers to a constant with methods.

For #35739

Change-Id: I6bd0b5cd4272dbe9969634b4821e668acacfdcf9
Reviewed-on: https://go-review.googlesource.com/c/go/+/261662
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
test/fixedbugs/issue35739.dir/a.go [new file with mode: 0644]
test/fixedbugs/issue35739.dir/b.go [new file with mode: 0644]
test/fixedbugs/issue35739.go [new file with mode: 0644]