diff options
author | Chris Lattner <sabre@nondot.org> | 2002-03-11 19:03:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-03-11 19:03:41 +0000 |
commit | 2286a9c34ae0634b2f1927d42c988eb904932f71 (patch) | |
tree | 63e4d68abd8886024f584a40bc2274ec085d9247 /test | |
parent | 2dc78088b7bebb439a8f660fbfbb1ea114840cfc (diff) | |
download | external_llvm-2286a9c34ae0634b2f1927d42c988eb904932f71.zip external_llvm-2286a9c34ae0634b2f1927d42c988eb904932f71.tar.gz external_llvm-2286a9c34ae0634b2f1927d42c988eb904932f71.tar.bz2 |
New testcase for broken GCCism
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1854 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CFrontend/2002-03-11-LargeCharInString.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CFrontend/2002-03-11-LargeCharInString.c b/test/CFrontend/2002-03-11-LargeCharInString.c new file mode 100644 index 0000000..4e640d5 --- /dev/null +++ b/test/CFrontend/2002-03-11-LargeCharInString.c @@ -0,0 +1,8 @@ +#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"); +} |