aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/compile')
-rw-r--r--src/cmd/compile/internal/ssa/_gen/allocators.go4
-rw-r--r--src/cmd/compile/internal/ssa/nilcheck_test.go4
-rw-r--r--src/cmd/compile/internal/test/logic_test.go4
-rw-r--r--src/cmd/compile/internal/test/math_test.go4
-rw-r--r--src/cmd/compile/internal/test/test.go4
5 files changed, 20 insertions, 0 deletions
diff --git a/src/cmd/compile/internal/ssa/_gen/allocators.go b/src/cmd/compile/internal/ssa/_gen/allocators.go
index 5c72fe8be1..5869a61e82 100644
--- a/src/cmd/compile/internal/ssa/_gen/allocators.go
+++ b/src/cmd/compile/internal/ssa/_gen/allocators.go
@@ -1,3 +1,7 @@
+// Copyright 2022 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package main
// TODO: should we share backing storage for similarly-shaped types?
diff --git a/src/cmd/compile/internal/ssa/nilcheck_test.go b/src/cmd/compile/internal/ssa/nilcheck_test.go
index 2e32afe2a6..6c89b1e185 100644
--- a/src/cmd/compile/internal/ssa/nilcheck_test.go
+++ b/src/cmd/compile/internal/ssa/nilcheck_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package ssa
import (
diff --git a/src/cmd/compile/internal/test/logic_test.go b/src/cmd/compile/internal/test/logic_test.go
index 1d7043ff60..0e46b5faef 100644
--- a/src/cmd/compile/internal/test/logic_test.go
+++ b/src/cmd/compile/internal/test/logic_test.go
@@ -1,3 +1,7 @@
+// Copyright 2016 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package test
import "testing"
diff --git a/src/cmd/compile/internal/test/math_test.go b/src/cmd/compile/internal/test/math_test.go
index 6bcb4601ba..1febe9d42b 100644
--- a/src/cmd/compile/internal/test/math_test.go
+++ b/src/cmd/compile/internal/test/math_test.go
@@ -1,3 +1,7 @@
+// Copyright 2023 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package test
import (
diff --git a/src/cmd/compile/internal/test/test.go b/src/cmd/compile/internal/test/test.go
index 56e5404079..195c65a9ea 100644
--- a/src/cmd/compile/internal/test/test.go
+++ b/src/cmd/compile/internal/test/test.go
@@ -1 +1,5 @@
+// Copyright 2016 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package test