1f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm %s  -o /dev/null
2f4a2713aSLionel Sambuc 
3f4a2713aSLionel Sambuc // This bit is taken from Sema/wchar.c so we can avoid the wchar.h include.
4f4a2713aSLionel Sambuc typedef __WCHAR_TYPE__ wchar_t;
5f4a2713aSLionel Sambuc #if defined(_WIN32) || defined(_M_IX86) || defined(__CYGWIN__) \
6f4a2713aSLionel Sambuc   || defined(_M_X64) || defined(SHORT_WCHAR)
7f4a2713aSLionel Sambuc   #define WCHAR_T_TYPE unsigned short
8*0a6a1f1dSLionel Sambuc #elif defined(__sun)
9f4a2713aSLionel Sambuc   #define WCHAR_T_TYPE long
10*0a6a1f1dSLionel Sambuc #else /* Solaris. */
11f4a2713aSLionel Sambuc   #define WCHAR_T_TYPE int
12f4a2713aSLionel Sambuc #endif
13f4a2713aSLionel Sambuc 
_iodbcdm_sqlerror()14f4a2713aSLionel Sambuc signed short _iodbcdm_sqlerror( )
15f4a2713aSLionel Sambuc {
16f4a2713aSLionel Sambuc   wchar_t _sqlState[6] = { L"\0" };
17f4a2713aSLionel Sambuc }
18