Sign in
apache
/
groovy
/
refs/tags/GROOVY_1_1_BETA_3
/
.
/
groovy-core
/
src
/
test
/
groovy
/
bugs
/
Groovy325_Bug.groovy
blob: b3a14544d2d521627d870000ce3dc139155739cd [
file
] [
log
] [
blame
]
package
groovy
.
bugs
class
Groovy325_Bug
extends
GroovyTestCase
{
static
boolean
staticMethod
()
{
return
true
}
void
testCallStaticMethodFromClosure
()
{
def
c
=
{
staticMethod
()
}
assert
c
()
}
}