From 009b1c42aa6266385f2c37e227516b24077e6dd7 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Tue, 2 Jun 2009 17:52:33 +0000 Subject: Import LLVM, at r72732. --- test/FrontendC/2002-03-11-LargeCharInString.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/FrontendC/2002-03-11-LargeCharInString.c (limited to 'test/FrontendC/2002-03-11-LargeCharInString.c') diff --git a/test/FrontendC/2002-03-11-LargeCharInString.c b/test/FrontendC/2002-03-11-LargeCharInString.c new file mode 100644 index 0000000000000..d8a1671fc773f --- /dev/null +++ b/test/FrontendC/2002-03-11-LargeCharInString.c @@ -0,0 +1,10 @@ +// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null + +#include + +int test(char *X) { + /* LLVM-GCC used to emit: + %.LC0 = internal global [3 x sbyte] c"\1F\FFFFFF8B\00" + */ + return strcmp(X, "\037\213"); +} -- cgit v1.2.3