blob: 42f82bfa89507a958294f91f6cd62f19024f67b6 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
2
3/* GCC was not escaping quotes in string constants correctly, so this would
4 * get emitted:
5 * %.LC1 = internal global [32 x sbyte] c"*** Word "%s" on line %d is not\00"
6 */
7
8const char *Foo() {
9 return "*** Word \"%s\" on line %d is not";
10}