1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null |
---|---|
2 | |
3 | int strcmp(const char *s1, const char *s2); |
4 | |
5 | int test(char *X) { |
6 | /* LLVM-GCC used to emit: |
7 | %.LC0 = internal global [3 x sbyte] c"\1F\FFFFFF8B\00" |
8 | */ |
9 | return strcmp(X, "\037\213"); |
10 | } |
11 |
1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null |
---|---|
2 | |
3 | int strcmp(const char *s1, const char *s2); |
4 | |
5 | int test(char *X) { |
6 | /* LLVM-GCC used to emit: |
7 | %.LC0 = internal global [3 x sbyte] c"\1F\FFFFFF8B\00" |
8 | */ |
9 | return strcmp(X, "\037\213"); |
10 | } |
11 |