brintos

brintos / llvm-project-archived public Read only

0
0
Text · 296 B · 85773e3 Raw
11 lines · c
1// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null2 3/* GCC was not escaping quotes in string constants correctly, so this would4 * get emitted:5 *  %.LC1 = internal global [32 x sbyte] c"*** Word "%s" on line %d is not\00"6 */7 8const char *Foo(void) {9  return "*** Word \"%s\" on line %d is not";10}11