[cfe-commits] r89096 - /cfe/trunk/test/Sema/wchar.c

Benjamin Kramer benny.kra at googlemail.com
Tue Nov 17 06:02:17 PST 2009


Author: d0k
Date: Tue Nov 17 08:02:16 2009
New Revision: 89096

URL: http://llvm.org/viewvc/llvm-project?rev=89096&view=rev
Log:
Make test header independent so it doesn't fail on freebsd. I hope this doesn't
hurt the intention of the test.

Modified:
    cfe/trunk/test/Sema/wchar.c

Modified: cfe/trunk/test/Sema/wchar.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/wchar.c?rev=89096&r1=89095&r2=89096&view=diff

==============================================================================
--- cfe/trunk/test/Sema/wchar.c (original)
+++ cfe/trunk/test/Sema/wchar.c Tue Nov 17 08:02:16 2009
@@ -1,8 +1,8 @@
 // RUN: clang %s -fsyntax-only -Xclang -verify
 // RUN: clang %s -fsyntax-only -fshort-wchar -Xclang -verify -DSHORT_WCHAR
- 
-#include <wchar.h>
- 
+
+typedef __WCHAR_TYPE__ wchar_t;
+
 #if defined(_WIN32) || defined(_M_IX86) || defined(__CYGWIN__) \
  || defined(_M_X64) || defined(SHORT_WCHAR)
   #define WCHAR_T_TYPE unsigned short





More information about the cfe-commits mailing list