PR libstdc++/87704 fix unique_ptr(nullptr_t) constructors
[official-gcc.git] / libgo / go / testing / testing_test.go
blob45e44683b43c017cfb4512a5d8b81e19308b9d80
1 // Copyright 2014 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 package testing_test
7 import (
8 "os"
9 "testing"
12 // This is exactly what a test would do without a TestMain.
13 // It's here only so that there is at least one package in the
14 // standard library with a TestMain, so that code is executed.
16 func TestMain(m *testing.M) {
17 os.Exit(m.Run())