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
6ab16f28
Commit
6ab16f28
authored
Feb 08, 2022
by
uxrog
Browse files
Merge branch 'exec/nested-return' into 'master'
Add test case for return in nested block See merge request
!66
parents
33a09bee
4b3c41a5
Pipeline
#196537
failed with stage
in 31 minutes and 23 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
exec/ReturnInNestedBlock.java
0 → 100644
View file @
6ab16f28
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 @
6ab16f28
1
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