aboutsummaryrefslogtreecommitdiffstats
path: root/testdata/simple.go
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/simple.go')
-rw-r--r--testdata/simple.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/testdata/simple.go b/testdata/simple.go
index 4b4c23a..dd9f74e 100644
--- a/testdata/simple.go
+++ b/testdata/simple.go
@@ -7,5 +7,9 @@ func main() {
go func() {
capturedReference += 1
capturedReference2 += 1
+
+ if capturedReference == 1 {
+ return
+ }
}()
}