summaryrefslogtreecommitdiff
path: root/testsuite/tests/simplStg/should_compile/all.T
blob: d8bb1dfa5b561d97bf620f6c5a84cecd0c5a386a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Args to compile_and_run are:
#	extra compile flags
#	extra run flags
#	expected process return value, if not zero

# Only compile with optimisation
def f( name, opts ):
  opts.only_ways = ['optasm']

setTestOpts(f)

test('T13588', [ grep_errmsg('case') ] , compile, ['-dverbose-stg2stg -fno-worker-wrapper'])
test('T19717', normal, compile, ['-ddump-stg-final -dsuppress-uniques -dno-typeable-binds'])
test('inferTags002', [ only_ways(['optasm']), grep_errmsg(r'(call stg\_ap\_0)', [1])], compile, ['-ddump-cmm -dsuppress-uniques -dno-typeable-binds -O'])

test('T22212', normal, compile, ['-O'])