Fix test so it works on systems where wchar_t != int.
[oota-llvm.git] / test / FrontendC / 2009-02-27-CString.c
1 /* RUN: %llvmgcc %s -S -o - -emit-llvm | \
2    RUN: egrep {CSTRING SECTION.\*section.\*__TEXT,.\*__cstring}
3    XFAIL: *
4    XTARGET: darwin
5    END.
6    Insure that stings go to the cstring section.  This test is
7    intended solely for Darwin targets.
8  */
9 char *foo() {
10   return "this string should go to the CSTRING SECTION";
11 }