blob: df12cae90ea0f1cf78438326dcd401510b54b9f4 [file] [log] [blame]
Eric Christopherd9a54592011-07-26 20:27:12 +00001// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
3// This bit is taken from Sema/wchar.c so we can avoid the wchar.h include.
4typedef __WCHAR_TYPE__ wchar_t;
5#if defined(_WIN32) || defined(_M_IX86) || defined(__CYGWIN__) \
6 || defined(_M_X64) || defined(SHORT_WCHAR)
7 #define WCHAR_T_TYPE unsigned short
8#elif defined(__sun) || defined(__AuroraUX__)
9 #define WCHAR_T_TYPE long
10#else /* Solaris or AuroraUX. */
11 #define WCHAR_T_TYPE int
12#endif
13
14signed short _iodbcdm_sqlerror( )
15{
16 wchar_t _sqlState[6] = { L"\0" };
17}