about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/haskell_doctest/Baz.hs
blob: d576235bf4881825dfeb455b24f293f0dcfc1862 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{-# LANGUAGE CPP #-}

module Baz (baz) where

-- |
-- >>> baz
-- 101

baz :: Int
#ifndef MAGIC_DOCTEST_THING
baz = 100
#else
baz = 101
#endif