Index: ../src/test/groovy/bugs/VerifyErrorBug.groovy
===================================================================
--- ../src/test/groovy/bugs/VerifyErrorBug.groovy	(revision )
+++ ../src/test/groovy/bugs/VerifyErrorBug.groovy	(revision )
@@ -0,0 +1,30 @@
+package groovy.bugs
+
+class VerifyErrorBug extends GroovyTestCase {
+	void testShouldNotThrowVerifyError1() {
+		def shell = new GroovyShell()
+		shell.evaluate("""
+			x = this.&println
+			for (def i = 1; i < 10; i++) {
+				x { i - 1 }
+			}
+		""")
+	}
+	void testShouldNotThrowVerifyError2() {
+		def shell = new GroovyShell()
+		shell.evaluate("""
+			for (int i = 1; i < 10; i++) {
+				i - 1
+			}
+		""")
+	}
+	void testShouldNotThrowVerifyError3() {
+		def shell = new GroovyShell()
+		shell.evaluate("""
+			x = this.&println
+			for (int i = 1; i < 10; i++) {
+				x { i - 1 }
+			}
+		""")
+	}
+}
