llvm.org GIT mirror llvm / release_20 test / CFrontend / 2002-03-11-LargeCharInString.c
release_20

Tree @release_20 (Download .tar.gz)

2002-03-11-LargeCharInString.c @release_20raw · history · blame

// RUN: %llvmgcc -S %s -o - | llvm-as -f -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");
}