[llvm-commits] [llvm] r78703 - /llvm/trunk/test/FrontendC/wchar-const.c

Dan Gohman gohman at apple.com
Tue Aug 11 12:59:22 PDT 2009


Author: djg
Date: Tue Aug 11 14:59:21 2009
New Revision: 78703

URL: http://llvm.org/viewvc/llvm-project?rev=78703&view=rev
Log:
Use wchar.h to get wchar_t, not ctype.h.

Modified:
    llvm/trunk/test/FrontendC/wchar-const.c

Modified: llvm/trunk/test/FrontendC/wchar-const.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/wchar-const.c?rev=78703&r1=78702&r2=78703&view=diff

==============================================================================
--- llvm/trunk/test/FrontendC/wchar-const.c (original)
+++ llvm/trunk/test/FrontendC/wchar-const.c Tue Aug 11 14:59:21 2009
@@ -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[])
 {





More information about the llvm-commits mailing list