Sign in
apache
/
groovy
/
4ce380cda5b437999726dfd041cb1b0781e91ec9
/
.
/
groovy
/
jsr
/
tck
/
test
/
gls
/
ch14
/
s4
/
LocalVariableDeclarationStatements3.groovy
blob: 2be3bddb4336c26ea69e18a69978d64b733d94e3 [
file
] [
log
] [
blame
]
/**
* Local variable declaration statements may be intermixed freely with other kinds of statements in the block.
*/
class
Foo
{
def
run
()
{
int
a
=
1
assert
a
==
1
int
b
=
2
assert
b
==
2
}
}