From: Ian Lance Taylor Date: Sun, 20 Jul 2014 15:09:04 +0000 (+0000) Subject: runtime: add a missing import X-Git-Tag: releases/gcc-5.1.0~6189 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aefa5ff4cf0a058ff76dbd0bea246b690e9dcac0;p=thirdparty%2Fgcc.git runtime: add a missing import This adds an import of the runtime package to fix compilation of the TestStopCPUProfilingWithProfilerOff function. The gccgo compiler should never have accepted this. The patch for the comiler is http://codereview.appspot.com/116960043 . The test is https://codereview.appspot.com/118000043 . From-SVN: r212870 --- diff --git a/libgo/go/runtime/runtime_test.go b/libgo/go/runtime/runtime_test.go index 7dae95a2d4f5..5c504675968c 100644 --- a/libgo/go/runtime/runtime_test.go +++ b/libgo/go/runtime/runtime_test.go @@ -9,7 +9,7 @@ import ( // "io/ioutil" // "os" // "os/exec" - // . "runtime" + . "runtime" "runtime/debug" // "strconv" // "strings"