When accessing the base register for global variables, use the register
[oota-llvm.git] / test / CFrontend / 2002-03-11-LargeCharInString.c
1 // RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
2
3 #include <string.h>
4
5 int test(char *X) {
6         /* LLVM-GCC used to emit: 
7            %.LC0 = internal global [3 x sbyte] c"\1F\FFFFFF8B\00"
8          */
9         return strcmp(X, "\037\213");
10 }