blob: 530f98e044ac0982d5cab6364e1127af6268fadf [file] [log] [blame]
Stuart Hastings87311bd2009-02-27 22:35:12 +00001/* RUN: %llvmgcc %s -S -o - -emit-llvm | \
2 RUN: egrep {CSTRING SECTION.\*section.\*__TEXT,.\*__cstring}
3 XFAIL: *
4 TARGET: *-*-darwin*
5 END.
6 Insure that stings go to the cstring section. This test is
7 intended solely for Darwin targets.
8 */
9char *foo() {
10 return "this string should go to the CSTRING SECTION";
11}