Sign in
apache
/
groovy
/
refs/tags/GROOVY_1_1_BETA_3
/
.
/
groovy-core
/
src
/
test
/
gls
/
ch08
/
s04
/
RepetitiveMethodTest.groovy
blob: 22c3f86fcc44cba36150da89f1403496fbc9b928 [
file
] [
log
] [
blame
]
package
gls
.
ch08
.
s04
import
gls
.
scope
.
CompilableTestSupport
class
RepetitiveMethodTest
extends
CompilableTestSupport
{
void
testRepetitiveMethod
()
{
def
text
=
"""
class A {
void foo() {}
void foo() {}
}
"""
shouldNotCompile
(
text
)
}
}