Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
78edbfdc
Commit
78edbfdc
authored
Apr 10, 2009
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test for new string bug
TBR=r OCL=27306 CL=27306
parent
870c91ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
test/stack.go
test/stack.go
+5
-0
No files found.
test/stack.go
View file @
78edbfdc
...
...
@@ -31,8 +31,13 @@ func d(t T) {
var
c
=
make
(
chan
int
);
var
t
T
;
var
b
=
[]
byte
{
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
};
func
recur
(
n
int
)
{
ss
:=
string
(
b
);
if
len
(
ss
)
!=
len
(
b
)
{
panic
(
"bad []byte -> string"
);
}
go
g
(
c
,
t
);
s
:=
<-
c
;
if
s
!=
len
(
t
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment