1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-02-22 13:29:44 +00:00
llvm-6502/test/FrontendC/2009-02-27-CString.c
2009-02-28 12:11:01 +00:00

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";
}