brintos

brintos / llvm-project-archived public Read only

0
0
Text · 498 B · 78bc0e8 Raw
19 lines · c
1// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null2 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 short8#elif defined(__sun)9  #define WCHAR_T_TYPE long10#else /* Solaris. */11  #define WCHAR_T_TYPE int12#endif13 14signed short _iodbcdm_sqlerror(void)15{16  wchar_t _sqlState[6] = { L"\0" };17  return 0;18}19