Commit e4e1d089 authored by Robert Griesemer's avatar Robert Griesemer

go/types: use std "DO NOT EDIT" comment for generated hilbert test

For #13560.

Change-Id: I884e63f89d0756ca87b8c2092b4fd8360f791a2f
Reviewed-on: https://go-review.googlesource.com/39171
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
parent a33903b0
...@@ -50,8 +50,7 @@ func TestHilbert(t *testing.T) { ...@@ -50,8 +50,7 @@ func TestHilbert(t *testing.T) {
func program(n int, out string) []byte { func program(n int, out string) []byte {
var g gen var g gen
g.p(`// WARNING: GENERATED FILE - DO NOT MODIFY MANUALLY! g.p(`// Code generated by: go test -run=Hilbert -H=%d -out=%q. DO NOT EDIT.
// (To generate, in go/types directory: go test -run=Hilbert -H=%d -out=%q)
// This program tests arbitrary precision constant arithmetic // This program tests arbitrary precision constant arithmetic
// by generating the constant elements of a Hilbert matrix H, // by generating the constant elements of a Hilbert matrix H,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment