aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testdata/simple.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/testdata/simple.go b/testdata/simple.go
index a039f49..694bd33 100644
--- a/testdata/simple.go
+++ b/testdata/simple.go
@@ -1,5 +1,7 @@
package main
+import "strings"
+
func main() {
capturedReference := 0
capturedReference2 := 1
@@ -14,5 +16,8 @@ func main() {
newVar := 0
newVar += 1
+
+ str := "a"
+ strings.Repeat(str, 3)
}()
}