aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/go.test/test/chan/sieve2.go
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/go.test/test/chan/sieve2.go')
-rw-r--r--gcc/testsuite/go.test/test/chan/sieve2.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/go.test/test/chan/sieve2.go b/gcc/testsuite/go.test/test/chan/sieve2.go
index 9a7ab1540..09e5c527b 100644
--- a/gcc/testsuite/go.test/test/chan/sieve2.go
+++ b/gcc/testsuite/go.test/test/chan/sieve2.go
@@ -1,9 +1,11 @@
-// $G $D/$F.go && $L $F.$A && ./$A.out
+// run
// 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.
+// Test concurrency primitives: prime sieve of Eratosthenes.
+
// Generate primes up to 100 using channels, checking the results.
// This sieve is Eratosthenesque and only considers odd candidates.
// See discussion at <http://blog.onideas.ws/eratosthenes.go>.