[llvm-commits] [llvm] r75827 - /llvm/trunk/test/FrontendC/2009-07-15-pad-wchar_t-array.c
Dale Johannesen
dalej at apple.com
Wed Jul 15 13:40:54 PDT 2009
Author: johannes
Date: Wed Jul 15 15:40:53 2009
New Revision: 75827
URL: http://llvm.org/viewvc/llvm-project?rev=75827&view=rev
Log:
Fix test so it works on systems where wchar_t != int.
Modified:
llvm/trunk/test/FrontendC/2009-07-15-pad-wchar_t-array.c
Modified: llvm/trunk/test/FrontendC/2009-07-15-pad-wchar_t-array.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/2009-07-15-pad-wchar_t-array.c?rev=75827&r1=75826&r2=75827&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC/2009-07-15-pad-wchar_t-array.c (original)
+++ llvm/trunk/test/FrontendC/2009-07-15-pad-wchar_t-array.c Wed Jul 15 15:40:53 2009
@@ -1,15 +1,7 @@
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
-typedef int __darwin_wchar_t;
-typedef __darwin_wchar_t wchar_t;
-typedef signed short SQLSMALLINT;
-typedef SQLSMALLINT SQLRETURN;
-typedef enum
- {
- en_sqlstat_total
- }
- sqlerrmsg_t;
-SQLRETURN _iodbcdm_sqlerror( )
+#include <stddef.h>
+signed short _iodbcdm_sqlerror( )
{
wchar_t _sqlState[6] = { L"\0" };
}
More information about the llvm-commits
mailing list