blob: 524628159c4bd7809eab4cabe2d1f6a1e81f9738 [file] [log] [blame]
Robert Griesemer48a14662015-11-16 12:40:45 -08001// errorcheck
2
Emmanuel Odeke53fd5222016-04-10 14:32:26 -07003// Copyright 2015 The Go Authors. All rights reserved.
Robert Griesemer48a14662015-11-16 12:40:45 -08004// Use of this source code is governed by a BSD-style
5// license that can be found in the LICENSE file.
6
7// This program caused an infinite loop with the recursive-descent parser.
8
9package main
10
11func main() {
12 foo(
13} // ERROR "unexpected }"