summaryrefslogtreecommitdiff
path: root/test/FrontendC/2002-03-11-LargeCharInString.c
blob: b383d03f79974ee31be1d2fa6b50a933d85d52bd (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null

#include <string.h>

int test(char *X) {
  /* LLVM-GCC used to emit:
     %.LC0 = internal global [3 x sbyte] c"\1F\FFFFFF8B\00"
   */
  return strcmp(X, "\037\213");
}