Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use labels as switch cases #693

Closed
kamphaus opened this issue Apr 27, 2018 · 0 comments
Closed

Cannot use labels as switch cases #693

kamphaus opened this issue Apr 27, 2018 · 0 comments

Comments

@kamphaus
Copy link
Contributor

In C we can use labels as switch cases:

switch(0) {
case 0:
    goto LABEL;
    break;
LABEL:
case 1:
    printf("hurray");
}

Go doesn't allow that and c2go doesn't handle that case.

kamphaus pushed a commit to kamphaus/c2go that referenced this issue Apr 27, 2018
kamphaus pushed a commit to kamphaus/c2go that referenced this issue Apr 27, 2018
kamphaus added a commit to kamphaus/c2go that referenced this issue Apr 27, 2018
kamphaus added a commit to kamphaus/c2go that referenced this issue Apr 27, 2018
kamphaus added a commit to kamphaus/c2go that referenced this issue Apr 28, 2018
kamphaus added a commit to kamphaus/c2go that referenced this issue Apr 30, 2018
kamphaus added a commit to kamphaus/c2go that referenced this issue Apr 30, 2018
kamphaus added a commit to kamphaus/c2go that referenced this issue May 6, 2018
kamphaus added a commit to kamphaus/c2go that referenced this issue May 6, 2018
kamphaus added a commit to kamphaus/c2go that referenced this issue May 9, 2018
kamphaus added a commit to kamphaus/c2go that referenced this issue May 9, 2018
kamphaus added a commit to kamphaus/c2go that referenced this issue May 14, 2018
kamphaus added a commit to kamphaus/c2go that referenced this issue May 14, 2018
kamphaus added a commit to kamphaus/c2go that referenced this issue May 24, 2018
kamphaus added a commit to kamphaus/c2go that referenced this issue May 24, 2018
kamphaus added a commit to kamphaus/c2go that referenced this issue May 29, 2018
kamphaus added a commit to kamphaus/c2go that referenced this issue May 29, 2018
kamphaus added a commit to kamphaus/c2go that referenced this issue Jun 4, 2018
kamphaus added a commit to kamphaus/c2go that referenced this issue Jun 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant