/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/syntax/semi1.go
12 строк
301 B
Robert Griesemer
cmd/compile/internal/parser: improved syntax error for incorrect if/for/switch header
09 фев 2017, 06:54
09 фев 2017, 06:54
3c22e5c
Код
Авторство
О чём код?
// errorcheck // 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 func main() { if x; y // ERROR "expected .*{.* after if clause|undefined" { z // GCCGO_ERROR "undefined"