Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
IPDSnelting
mjtest-tests
Commits
4b3c41a5
Commit
4b3c41a5
authored
Feb 07, 2022
by
Tobias Stickling
Browse files
Add test case for return in nested block
parent
33a09bee
Pipeline
#196254
failed with stage
in 45 minutes and 28 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
exec/ReturnInNestedBlock.java
0 → 100644
View file @
4b3c41a5
class
Test
{
public
int
i
;
public
static
void
main
(
String
[]
args
)
{
Test
t
=
new
Test
();
t
.
i
=
1
;
t
.
run
();
System
.
out
.
println
(
t
.
i
);
}
public
void
run
()
{
{
return
;
}
i
=
5
;
return
;
}
}
exec/ReturnInNestedBlock.java.out
0 → 100644
View file @
4b3c41a5
1
Write
Preview
Supports
Markdown
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