blob: 7a974eef347faaed6978ad9cc0d0cf4764ae5e7a [file] [log] [blame]
/* RUN: %llvmgcc %s -S -o - -emit-llvm | \
RUN: egrep {CSTRING SECTION.\*section.\*__TEXT,.\*__cstring}
XFAIL: *
XTARGET: darwin
END.
Insure that stings go to the cstring section. This test is
intended solely for Darwin targets.
*/
char *foo() {
return "this string should go to the CSTRING SECTION";
}