repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
go.test
/
test
/
ddd2.go
blob
a06af0c06578725dc697cddefdf4c715a67202a9
1
// true
2
3
// Copyright 2010 The Go Authors. All rights reserved.
4
// Use of this source code is governed by a BSD-style
5
// license that can be found in the LICENSE file.
6
7
package
ddd
8
9
func
Sum
(
args
...
int
)
int
{
10
s
:=
0
11
for
_
,
v
:=
range
args
{
12
s
+=
v
13
}
14
return
s
15
}
16