summaryrefslogtreecommitdiff
path: root/testsuite/tests/callarity/should_compile/all.T
blob: 88f16ec6290c4c51d666c3cf8d3e6b85af0f21fd (plain)
1
2
3
4
5
6
7
8
# Only compile with optimisation
setTestOpts( only_ways(['optasm']) )

# The gist here is that the n_X1 :: Double -> Double binding we see in
# CallArity will be eta-expanded, inlined and thus not be seen in simplified
# output. There should be no other Double -> Double bindings, so testing for
# the absence of the sig should be reasonably precise.
test('T20283',  [ grep_errmsg(r':: Double -> Double') ], compile, ['-dppr-cols=1000 -ddump-simpl'])