Skip to content

Commit d8d3351

Browse files
committed
cmd/compile: Move divconst_test out of test/bench/go1
This is necessary to avoid disrupting the go1 suite and gives us a place to put other tests of basic compiler function and correctness. Change-Id: I36933819ff2bfe6a2121fff2be9a98efd2123d9a Reviewed-on: https://go-review.googlesource.com/22597 Run-TryBot: David Chase <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Keith Randall <[email protected]>
1 parent fa9435c commit d8d3351

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

src/cmd/compile/internal/test/README

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
This directory holds small tests and benchmarks of code
2+
generated by the compiler. This code is not for importing,
3+
and the tests are intended to verify that specific optimzations
4+
are applied and correct.

test/bench/go1/divconst_test.go renamed to src/cmd/compile/internal/test/divconst_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
package go1
5+
package test
66

77
import (
88
"testing"

src/cmd/compile/internal/test/test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package test

0 commit comments

Comments
 (0)