<commit_before>// errchk $G $D/$F.go

// Copyright 2009 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 struct { }
func (t *T) M(int, string);
func (t *T) M(int, float) { }   // ERROR "redeclared"

func f(int, string);
func f(int, float) { }  // ERROR "redeclared"

func g(a int, b string);
func g(a int, c string);  // ERROR "names changed"

<commit_msg>Recognize gccgo error messages.  This uses GCCGO_ERROR, which is recognized by the gccgo testsuite but is ignored by the errchk script used with 6g.<commit_after>// errchk $G $D/$F.go

// Copyright 2009 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 struct { }
func (t *T) M(int, string);	// GCCGO_ERROR "previous"
func (t *T) M(int, float) { }   // ERROR "redeclared|redefinition"

func f(int, string);	// GCCGO_ERROR "previous"
func f(int, float) { }  // ERROR "redeclared|redefinition"

func g(a int, b string);  // GCCGO_ERROR "previous"
func g(a int, c string);  // ERROR "names changed"


{'fraction_non_alphanumeric': 0.12627118644067797, 'fraction_numerical': 0.007627118644067797, 'mean_word_length': 3.456603773584906, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5032394', 'n_tokens_mistral': 409, 'n_tokens_neox': 396, 'n_words': 167}