aboutsummaryrefslogtreecommitdiffstats
path: root/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'testdata')
-rw-r--r--testdata/simple.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/testdata/simple.go b/testdata/simple.go
new file mode 100644
index 0000000..496be52
--- /dev/null
+++ b/testdata/simple.go
@@ -0,0 +1,9 @@
+package main
+
+func main() {
+ capturedReference := 0
+
+ go func() {
+ capturedReference += 1
+ }()
+}