Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git] / test / FrontendC / 2002-03-14-QuotesInStrConst.c
blob63eaeef46a418fc52d56a708eb23c405bcbab5f5
1 // RUN: %llvmgcc -S %s -o - | llvm-as -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";