1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/CFrontend/2002-03-11-LargeCharInString.c

11 lines
224 B
C
Raw Normal View History

2004-11-06 23:41:00 +01:00
// 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");
}