mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
0b35200185
keyword. llvm-svn: 65692
12 lines
325 B
C
12 lines
325 B
C
/* 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";
|
|
}
|