testsuite: fix cc004
authorAustin Seipp <austin@well-typed.com>
Sat, 10 May 2014 02:50:52 +0000 (21:50 -0500)
committerAustin Seipp <austin@well-typed.com>
Sat, 10 May 2014 02:51:17 +0000 (21:51 -0500)
Signed-off-by: Austin Seipp <austin@well-typed.com>
testsuite/tests/ffi/should_compile/all.T

index 81f6a0d..84c7e86 100644 (file)
@@ -9,9 +9,9 @@ test('cc001', normal, compile, [''])
 # Non-static C call
 # cc004 test also uses stdcall, so it only works on i386.
 if config.platform.startswith('i386-'):
-    ways = expect_fail
-else:
     ways = normal
+else:
+    ways = expect_fail
 test('cc004', ways, compile, [''])
 
 test('cc005', normal, compile, [''])