brintos

brintos / llvm-project-archived public Read only

0
0
Text · 396 B · f3644f4 Raw
20 lines · plain
1; REQUIRES: x862; RUN: llvm-as %s -o %t.o3; RUN: ld.lld %t.o -o %t4; RUN: llvm-nm %t | FileCheck %s5 6target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"7target triple = "x86_64-unknown-linux-gnu"8 9module asm ".text"10module asm ".globl foo"11; CHECK: T foo12module asm "foo: ret"13 14declare void @foo()15 16define void @_start() {17  call void @foo()18  ret void19}20