Sign in
apache
/
groovy
/
67cce94e9c08bbf3a4f7611aec65e50c8e8d014b
/
.
/
groovy
/
src
/
test
/
gls
/
syntax
/
OldSpreadTest.groovy
blob: 817fc9f86185ca74585e9cdf3a62d3ac61033ae2 [
file
] [
log
] [
blame
]
package
gls
.
syntax
public
class
OldSpreadTest
extends
gls
.
CompilableTestSupport
{
void
testSpreadStatement
()
{
// don't allow spread outside a method call
shouldNotCompile
"""
*x
"""
}
}