1; REQUIRES: x86 2; RUN: llvm-as %s -o %t.o 3; RUN: ld.lld %t.o -o %t 4; RUN: llvm-nm %t | FileCheck %s 5 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 foo 12module asm "foo: ret" 13 14declare void @foo() 15 16define void @_start() { 17 call void @foo() 18 ret void 19} 20