mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
Test case to check that separate section is created for a global variable specified with section attribute.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77195 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
59858cf792
commit
c3ee7960d9
5
test/CodeGen/PIC16/global-in-user-section.ll
Normal file
5
test/CodeGen/PIC16/global-in-user-section.ll
Normal file
@ -0,0 +1,5 @@
|
||||
; RUN: llvm-as < %s | llc -march=pic16 | FileCheck %s
|
||||
|
||||
@G1 = common global i16 0, section "usersection", align 1
|
||||
; CHECK: usersection UDATA
|
||||
; CHECK: @G1 RES 2
|
Loading…
Reference in New Issue
Block a user