summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/X86/nm-undefinedweak.test
blob: d09434629b7152af2b519f65c379b3032a0e90a7 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llvm-as %s -o=%t1
; RUN: llvm-nm %t1 | FileCheck %s

; Check that patatino is reported as undefined weak.
; CHECK: w patatino

target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-freebsd11.0"

module asm ".weak patatino"
OpenPOWER on IntegriCloud