blob: b383d03f79974ee31be1d2fa6b50a933d85d52bd [file] [log] [blame]
Dan Gohmanfea1dd02009-08-25 15:38:29 +00001// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
Tanya Lattnere9af5d12004-11-06 22:41:00 +00002
Chris Lattner2286a9c2002-03-11 19:03:41 +00003#include <string.h>
4
5int test(char *X) {
Jeff Cohenb02fbfc2005-04-23 21:26:11 +00006 /* LLVM-GCC used to emit:
7 %.LC0 = internal global [3 x sbyte] c"\1F\FFFFFF8B\00"
8 */
9 return strcmp(X, "\037\213");
Chris Lattner2286a9c2002-03-11 19:03:41 +000010}