Use wchar.h to get wchar_t, not ctype.h.
authorDan Gohman <gohman@apple.com>
Tue, 11 Aug 2009 19:59:21 +0000 (19:59 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 11 Aug 2009 19:59:21 +0000 (19:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78703 91177308-0d34-0410-b5e6-96231b3b80d8

test/FrontendC/wchar-const.c

index 0cb5ecb4a886dff4e71099dedd6364dceab5d078..7cf3322e8cf9663bf8dd0de66f7812697ac466f4 100644 (file)
@@ -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[])
 {