diff options
| author | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-07-27 16:20:41 +0000 |
|---|---|---|
| committer | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-07-27 16:20:41 +0000 |
| commit | a77a182b04a5f3ee15eacf50883dd61d549f1634 (patch) | |
| tree | c6b5c6192232373a5a6c5f30d1880da94fc4f699 | |
| parent | 9c7f808201ed3d7cafe7822dcc7b993827ae9feb (diff) | |
| download | bcm5719-llvm-a77a182b04a5f3ee15eacf50883dd61d549f1634.tar.gz bcm5719-llvm-a77a182b04a5f3ee15eacf50883dd61d549f1634.zip | |
Test case to check that separate section is created for a global variable specified with section attribute.
llvm-svn: 77195
| -rw-r--r-- | llvm/test/CodeGen/PIC16/global-in-user-section.ll | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/PIC16/global-in-user-section.ll b/llvm/test/CodeGen/PIC16/global-in-user-section.ll new file mode 100644 index 00000000000..02fd06849c3 --- /dev/null +++ b/llvm/test/CodeGen/PIC16/global-in-user-section.ll @@ -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 |

