diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-11 19:59:21 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-11 19:59:21 +0000 |
commit | c373c3a4667b1dd3f1caf99707d37613db381661 (patch) | |
tree | f460cd5219c49bf7755b4a202bdfeb1de47a4f45 /test | |
parent | 13c373cf0d165afb422c10c0ad066639d41d84ae (diff) | |
download | external_llvm-c373c3a4667b1dd3f1caf99707d37613db381661.zip external_llvm-c373c3a4667b1dd3f1caf99707d37613db381661.tar.gz external_llvm-c373c3a4667b1dd3f1caf99707d37613db381661.tar.bz2 |
Use wchar.h to get wchar_t, not ctype.h.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78703 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/FrontendC/wchar-const.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/FrontendC/wchar-const.c b/test/FrontendC/wchar-const.c index 0cb5ecb..7cf3322 100644 --- a/test/FrontendC/wchar-const.c +++ b/test/FrontendC/wchar-const.c @@ -1,6 +1,6 @@ // RUN: %llvmgcc -S %s -o - | grep {constant \\\[18 x} | grep { 84, } // This should pass for any endianness combination of host and target. -#include <ctype.h> +#include <wchar.h> extern void foo(const wchar_t* p); int main (int argc, const char * argv[]) { |