blob: 03b86b368dfb6febf9a3ef13322511ad454a7a10 [file] [log] [blame]
/* APPLE LOCAL file 4492976 */
/* Test if constant CFStrings get placed in the correct section. */
/* { dg-options "-fconstant-cfstrings -m64 -mmacosx-version-min=10.5" } */
/* { dg-do compile { target powerpc*-*-darwin* i?86*-*-darwin* } } */
typedef const struct __CFString * CFStringRef;
static CFStringRef appKey = (CFStringRef) @"com.apple.soundpref";
/* { dg-final { scan-assembler ".section __DATA, __cfstring" } } */
/* LLVM LOCAL accept llvm syntax */
/* { dg-final { scan-assembler ".quad\t___CFConstantStringClassReference\n\t.long\t1992.*\n\t.space( |\t)4\n\t.quad\t.*\n\t.quad\t19\n" } } */