all.T 1016 Bytes
Newer Older
1

2
3
def ffi( opts ):
  opts.extra_hc_opts = '-fffi -optc-Wno-implicit'
4

5
setTestOpts(ffi)
6

7
test('cc001', normal, compile, [''])
8

krc's avatar
krc committed
9
# Non-static C call
10
11
12
13
14
15
16
# cc004 test also uses stdcall, so it only works on i386.
if config.platform.startswith('i386-'):
	ways = expect_fail_for(['extcore','optextcore'])
else:
	ways = expect_fail
test('cc004', ways, compile, [''])

krc's avatar
krc committed
17
18
# foreign label
test('cc005', expect_fail_for(['extcore','optextcore']), compile, [''])
19
20
21
22

# Missing:
# test('cc006', normal, compile, [''])

23
test('cc007', normal, compile, [''])
krc's avatar
krc committed
24
25
26
27
28
29
# foreign label
test('cc008', expect_fail_for(['extcore','optextcore']), compile, [''])
# foreign label
test('cc009', expect_fail_for(['extcore','optextcore']), compile, [''])
# Non-static C call
test('cc010', expect_fail_for(['extcore','optextcore']), compile, [''])
30
test('cc011', normal, compile, [''])
31
test('cc012', normal, compile, [''])
32
test('cc013', expect_broken(1533), compile, [''])
33
test('ffi001', normal, compile, [''])
Simon Marlow's avatar
Simon Marlow committed
34
test('ffi-deriv1', expect_broken(736), compile, [''])