1 ; RUN: llvm-as %s -o=%t1
2 ; RUN: llvm-nm %t1 | FileCheck %s
3
4 ; Check that patatino is reported as undefined weak.
5 ; CHECK: w patatino
6
7 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
8 target triple = "x86_64-unknown-freebsd11.0"
9
10 module asm ".weak patatino"
11