projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd053ee
)
Go testsuite: update semi6.go from source repo
author
Ian Lance Taylor
<iant@golang.org>
Wed, 2 Dec 2020 17:42:49 +0000
(09:42 -0800)
committer
Ian Lance Taylor
<iant@golang.org>
Wed, 2 Dec 2020 17:44:10 +0000
(09:44 -0800)
This should have been part of
c7932d5626a81a35686a3992b5a02570aba5cd0b
,
but I forgot.
gcc/testsuite/go.test/test/syntax/semi6.go
patch
|
blob
|
history
diff --git
a/gcc/testsuite/go.test/test/syntax/semi6.go
b/gcc/testsuite/go.test/test/syntax/semi6.go
index c1e1cc363a26dc0a025a38dce9987a30183f6b48..9bc730d43d656a2e659a7511b31696f27c72fb34 100644
(file)
--- a/
gcc/testsuite/go.test/test/syntax/semi6.go
+++ b/
gcc/testsuite/go.test/test/syntax/semi6.go
@@
-1,13
+1,11
@@
// errorcheck
-// Copyright 2010 The Go Authors.
All rights reserved.
+// Copyright 2010 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
-type T // ERROR "unexpected semicolon or newline in type declaration"
-{
-
-
+type T1 // ERROR "newline in type declaration"
+type T2 /* // ERROR "(semicolon.*|EOF) in type declaration" */
\ No newline at end of file