Fix test so it works on systems where wchar_t != int.

llvm-svn: 75827
This commit is contained in:
Dale Johannesen 2009-07-15 20:40:53 +00:00
parent 4325dae645
commit 644e74abbe
1 changed files with 2 additions and 10 deletions

View File

@ -1,15 +1,7 @@
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null // RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
typedef int __darwin_wchar_t; #include <stddef.h>
typedef __darwin_wchar_t wchar_t; signed short _iodbcdm_sqlerror( )
typedef signed short SQLSMALLINT;
typedef SQLSMALLINT SQLRETURN;
typedef enum
{
en_sqlstat_total
}
sqlerrmsg_t;
SQLRETURN _iodbcdm_sqlerror( )
{ {
wchar_t _sqlState[6] = { L"\0" }; wchar_t _sqlState[6] = { L"\0" };
} }