This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libgo patch committed: Add missing import


This patch from Peter Collingbourne adds a missing import to a libgo
test.  The Go frontend should have detected this error.  The patch for
that is forthcoming (http://codereview.appspot.com/116960043) and I am
adding a test case to the testsuite
(http://codereview.appspot.com/118000043).  Bootstrapped and ran Go
testsuite on x86_64-unknown-linux-gnu.  Committed to mainline.

Ian

diff -r f75db1811715 libgo/go/runtime/runtime_test.go
--- a/libgo/go/runtime/runtime_test.go	Sun Jul 20 02:23:52 2014 -0700
+++ b/libgo/go/runtime/runtime_test.go	Sun Jul 20 08:08:27 2014 -0700
@@ -9,7 +9,7 @@
 	// "io/ioutil"
 	// "os"
 	// "os/exec"
-	// . "runtime"
+	. "runtime"
 	"runtime/debug"
 	// "strconv"
 	// "strings"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]