blob: 7a974eef347faaed6978ad9cc0d0cf4764ae5e7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* 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";
}
|