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 000000000000..02fd06849c3f --- /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