mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
[OCaml] PR21901: Update tests.
This finishes the fix partially applied by r224782. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224802 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0357f8735e
commit
e6ac2bc5fa
@ -39,7 +39,7 @@ let test_linker () =
|
||||
|
||||
let m1 = make_module "one"
|
||||
and m2 = make_module "two" in
|
||||
link_modules m1 m2 Mode.PreserveSource;
|
||||
link_modules m1 m2;
|
||||
dispose_module m1;
|
||||
dispose_module m2;
|
||||
|
||||
@ -51,7 +51,7 @@ let test_linker () =
|
||||
let m1 = make_module "one"
|
||||
and m2 = make_module "one" in
|
||||
try
|
||||
link_modules m1 m2 Mode.PreserveSource;
|
||||
link_modules m1 m2;
|
||||
failwith "must raise"
|
||||
with Error _ ->
|
||||
dispose_module m1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user