log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
projects
>
dstress
annotate run/goto_04.d @ 184:
2f17af7c6359
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
extended goto tests
author
thomask
date
Thu, 09 Dec 2004 06:21:54 +0000
parents
children
Ignore whitespace changes -
Everywhere:
Within whitespace:
At end of lines:
rev
line source
184
2f17af7c6359
extended goto tests
thomask
parents:
diff
changeset
1
// $HeadURL$
2f17af7c6359
extended goto tests
thomask
parents:
diff
changeset
2
// $Date$
2f17af7c6359
extended goto tests
thomask
parents:
diff
changeset
3
// $Author$
2f17af7c6359
extended goto tests
thomask
parents:
diff
changeset
4
2f17af7c6359
extended goto tests
thomask
parents:
diff
changeset
5
module dstress.nocompile.goto_04;
2f17af7c6359
extended goto tests
thomask
parents:
diff
changeset
6
2f17af7c6359
extended goto tests
thomask
parents:
diff
changeset
7
int main(){
2f17af7c6359
extended goto tests
thomask
parents:
diff
changeset
8
int i=1;
2f17af7c6359
extended goto tests
thomask
parents:
diff
changeset
9
switch(i){
2f17af7c6359
extended goto tests
thomask
parents:
diff
changeset
10
case 1:
2f17af7c6359
extended goto tests
thomask
parents:
diff
changeset
11
goto case 2;
2f17af7c6359
extended goto tests
thomask
parents:
diff
changeset
12
default:
2f17af7c6359
extended goto tests
thomask
parents:
diff
changeset
13
assert(0);
2f17af7c6359
extended goto tests
thomask
parents:
diff
changeset
14
}
2f17af7c6359
extended goto tests
thomask
parents:
diff
changeset
15
}