llvm/llvm/test/Object/X86/nm-undefinedweak.test

; 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"