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
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;
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;