blob: 85773e38d4df7063aab11ed5afca1750cff81f46 [file] [log] [blame]
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
/* GCC was not escaping quotes in string constants correctly, so this would
* get emitted:
* %.LC1 = internal global [32 x sbyte] c"*** Word "%s" on line %d is not\00"
*/
const char *Foo(void) {
return "*** Word \"%s\" on line %d is not";
}