14 lines · plain
1; RUN: llvm-as %s -o=%t12; RUN: llvm-nm %t1 | FileCheck %s3 4; Check that __libc_blah is reported as defined weak.5; CHECK: W __libc_blah6 7target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"8target triple = "x86_64-unknown-freebsd11.0"9 10module asm ".weak __libc_blah"11module asm ".equ __libc_blah, blah"12module asm ".globl blah"13module asm "blah: ret"14