1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Just do the normal way, SafeHaskell is all in the frontend
def f( opts ):
opts.only_ways = ['normal']
setTestOpts(f)
test('SafeFlags01', normal, compile, ['-trust base'])
test('SafeFlags02', normal, compile, [''])
test('SafeFlags03', normal, compile, [''])
# no longer support a SafeLanguage flag, so expect fail for them.
test('SafeFlags04', normal, compile_fail, ['-trust base'])
test('SafeFlags05', normal, compile, ['-trust base'])
test('SafeFlags06', normal, compile, [''])
# no longer support a SafeLanguage flag, so expect fail for them.
test('SafeFlags07', normal, compile_fail, ['-trust base'])
# no longer support a SafeLanguage flag, so expect fail for them.
test('SafeFlags08', normal, compile_fail, ['-trust base'])
test('SafeFlags09', normal, compile_fail, [''])
test('SafeFlags10', normal, compile_fail, [''])
test('SafeFlags11', normal, compile, ['-trust base'])
test('Flags01', normal, compile, [''])
test('Flags02', normal, compile, [''])
|