Don't try to set a dummy DataLayout. It is parsed now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202191 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2014-02-25 20:41:28 +00:00
parent aab87fe0ec
commit 724e528fc2

View File

@ -85,11 +85,11 @@ let test_target () =
end;
begin group "layout";
let layout = "bogus" in
let layout = "e" in
set_data_layout layout m;
insist (layout = data_layout m)
end
(* CHECK: target datalayout = "bogus"
(* CHECK: target datalayout = "e"
* CHECK: target triple = "i686-apple-darwin8"
*)