diff options
author | Ian Lance Taylor <iant@golang.org> | 2020-12-02 09:42:49 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2020-12-02 09:44:10 -0800 |
commit | 98e89dcf95e624a7fb37c103c2a35ff03553ccff (patch) | |
tree | 1e707589a74c67e87d0bc2373aceda31d953fe48 | |
parent | dd053eea0be4f3ec8b76fb2e103a13a3977bcf9f (diff) | |
download | gcc-98e89dcf95e624a7fb37c103c2a35ff03553ccff.zip gcc-98e89dcf95e624a7fb37c103c2a35ff03553ccff.tar.gz gcc-98e89dcf95e624a7fb37c103c2a35ff03553ccff.tar.bz2 |
Go testsuite: update semi6.go from source repo
This should have been part of c7932d5626a81a35686a3992b5a02570aba5cd0b,
but I forgot.
-rw-r--r-- | gcc/testsuite/go.test/test/syntax/semi6.go | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gcc/testsuite/go.test/test/syntax/semi6.go b/gcc/testsuite/go.test/test/syntax/semi6.go index c1e1cc3..9bc730d 100644 --- 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 |