1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-04-02 10:33:53 +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:
Sanjiv Gupta 2009-07-27 16:20:41 +00:00
parent 59858cf792
commit c3ee7960d9

@ -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