1
0
mirror of https://github.com/golang/go synced 2024-11-22 07:04:40 -07:00
go/test/fixedbugs/bug081.go
Rob Pike 696815c542 extend composite literal test.
update tests.
update golden.out

R=gri
OCL=14816
CL=14816
2008-09-04 13:35:19 -07:00

15 lines
283 B
Go

// ! $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
const x x = 2;
/*
bug081.go:3: first constant must evaluate an expression
Bus error
*/