aboutsummaryrefslogtreecommitdiff
path: root/test/ddd1.go
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-08-11 14:00:08 +0200
committerIan Lance Taylor <iant@golang.org>2017-08-11 17:41:17 +0000
commit98031d8cd0b8cfc731a9aaca058b1dd590e4ad86 (patch)
tree6c328a0f99993c4a855ed3291fad1c37e02e2f34 /test/ddd1.go
parent0f19e24da7fa564af3fa4e831463951d5715211a (diff)
downloadgo-98031d8cd0b8cfc731a9aaca058b1dd590e4ad86.tar.gz
go-98031d8cd0b8cfc731a9aaca058b1dd590e4ad86.zip
test: reenable ... test
The gofmt bug in question seems to be fixed (at least gofmt doesn't complain), so reenable the commented-out ... test. Change-Id: Icbfe0511160210557894ec8eb9b206aa6133d486 Reviewed-on: https://go-review.googlesource.com/55030 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'test/ddd1.go')
-rw-r--r--test/ddd1.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ddd1.go b/test/ddd1.go
index 4284e32137..b4ad80b687 100644
--- a/test/ddd1.go
+++ b/test/ddd1.go
@@ -53,8 +53,7 @@ func bad(args ...int) {
_ = new(int...) // ERROR "[.][.][.]"
n := 10
_ = make([]byte, n...) // ERROR "[.][.][.]"
- // TODO(rsc): enable after gofmt bug is fixed
- // _ = make([]byte, 10 ...) // error "[.][.][.]"
+ _ = make([]byte, 10 ...) // ERROR "[.][.][.]"
var x int
_ = unsafe.Pointer(&x...) // ERROR "[.][.][.]"
_ = unsafe.Sizeof(x...) // ERROR "[.][.][.]"