summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2002-03-11-LargeCharInString.c
blob: 927087349bcbfacbe5fd793fa5dac14984058ede (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null

int strcmp(const char *s1, const char *s2);

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