Improve compatibility with older versions of Windows.
[llvm/msp430.git] / test / FrontendC / 2002-03-14-QuotesInStrConst.c
blob42f82bfa89507a958294f91f6cd62f19024f67b6
1 // RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
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 */
8 const char *Foo() {
9 return "*** Word \"%s\" on line %d is not";