summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/annotations/Test10280.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-api/annotations/Test10280.hs')
-rw-r--r--testsuite/tests/ghc-api/annotations/Test10280.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-api/annotations/Test10280.hs b/testsuite/tests/ghc-api/annotations/Test10280.hs
new file mode 100644
index 0000000000..08e4186715
--- /dev/null
+++ b/testsuite/tests/ghc-api/annotations/Test10280.hs
@@ -0,0 +1,4 @@
+{-# LANGUAGE TupleSections #-}
+module Test10280 where
+
+foo2 = atomicModifyIORef ciTokens ((,()) . f)