mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
da3e7057cc
keyword. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65692 91177308-0d34-0410-b5e6-96231b3b80d8
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";
|
|
}
|