Test case to check that separate section is created for a global variable specified with section attribute.

llvm-svn: 77195
This commit is contained in:
Sanjiv Gupta 2009-07-27 16:20:41 +00:00
parent 9c7f808201
commit a77a182b04
1 changed files with 5 additions and 0 deletions
llvm/test/CodeGen/PIC16

View 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