aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testdata/simple.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/testdata/simple.go b/testdata/simple.go
index dd9f74e..a039f49 100644
--- a/testdata/simple.go
+++ b/testdata/simple.go
@@ -11,5 +11,8 @@ func main() {
if capturedReference == 1 {
return
}
+
+ newVar := 0
+ newVar += 1
}()
}