blob: bc260ab2f2fadc52af6a69c862f4c28b46ba58f2 [file] [log] [blame]
Torok Edwinc8afb092009-04-25 10:25:12 +00001; RUN: llvm-as < %s > %t
Bill Wendling57f8e5e2012-04-08 11:00:38 +00002; RUN: llvm-nm %t | FileCheck %s
Duncan P. N. Exon Smithc8eccd12014-08-19 21:08:27 +00003; RUN: verify-uselistorder %s
Bill Wendling57f8e5e2012-04-08 11:00:38 +00004; Test for isBitcodeFile, llvm-nm must read from a file for this test.
Torok Edwinc8afb092009-04-25 10:25:12 +00005target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
6target triple = "i686-apple-darwin9.2.2"
7
Bill Wendling57f8e5e2012-04-08 11:00:38 +00008; CHECK: foo
9
Torok Edwinc8afb092009-04-25 10:25:12 +000010define i32 @foo() {
11 ret i32 0
12}