2 ; 1. ".lto_discard" works as module inlineasm marker and its argument symbols
4 ; 2. there is no reassignment error in the presence of ".lto_discard"
5 ; RUN: llc < %s | FileCheck %s
9 ; CHECK-NOT: .set foo, bar
14 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
15 target triple = "x86_64-unknown-linux-gnu"
17 module asm ".lto_discard foo"
21 module asm ".weak foo"
22 module asm ".set foo, bar"
23 module asm ".weak foo"
24 module asm ".set foo, bar"
26 module asm ".lto_discard"
27 module asm ".globl foo"