]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
runtime: add a missing import
authorIan Lance Taylor <ian@gcc.gnu.org>
Sun, 20 Jul 2014 15:09:04 +0000 (15:09 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Sun, 20 Jul 2014 15:09:04 +0000 (15:09 +0000)
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

libgo/go/runtime/runtime_test.go

index 7dae95a2d4f5894fc8dbcfa9633ed89e953aea37..5c504675968cc969fcf2dfdd239e44431898b378 100644 (file)
@@ -9,7 +9,7 @@ import (
        // "io/ioutil"
        // "os"
        // "os/exec"
-       // . "runtime"
+       . "runtime"
        "runtime/debug"
        // "strconv"
        // "strings"