]> Cypherpunks repositories - gostls13.git/commit
sync: hide test of misuse of Cond from vet
authorRuss Cox <rsc@golang.org>
Fri, 20 Apr 2018 15:37:34 +0000 (11:37 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 25 Apr 2018 02:49:46 +0000 (02:49 +0000)
commiteca7a1343c6d4ac9417784cf5f37419ea05f34d3
tree14711f46fdd972207b9f88fa0613d4614b547b3a
parent09d36a819eb48d6a2c10b36bf654dcf8867d6641
sync: hide test of misuse of Cond from vet

The test wants to check that copies of Cond are detected at runtime.
Make a copy that isn't detected by vet at compile time.

Change-Id: I933ab1003585f75ba96723563107f1ba8126cb72
Reviewed-on: https://go-review.googlesource.com/108557
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/sync/cond_test.go