blob: 42f82bfa89507a958294f91f6cd62f19024f67b6 [file] [log] [blame]
Tanya Lattnere9af5d12004-11-06 22:41:00 +00001// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
2
Jeff Cohenb02fbfc2005-04-23 21:26:11 +00003/* GCC was not escaping quotes in string constants correctly, so this would
Chris Lattnerf5c04ef2002-03-14 20:16:23 +00004 * get emitted:
5 * %.LC1 = internal global [32 x sbyte] c"*** Word "%s" on line %d is not\00"
6 */
7
8const char *Foo() {
Jeff Cohenb02fbfc2005-04-23 21:26:11 +00009 return "*** Word \"%s\" on line %d is not";
Chris Lattnerf5c04ef2002-03-14 20:16:23 +000010}