[llvm-commits] [llvm] r75824 - /llvm/trunk/test/FrontendC/2009-07-15-pad-wchar_t-array.c
Dale Johannesen
dalej at apple.com
Wed Jul 15 13:27:44 PDT 2009
Author: johannes
Date: Wed Jul 15 15:27:44 2009
New Revision: 75824
URL: http://llvm.org/viewvc/llvm-project?rev=75824&view=rev
Log:
Test for llvm-gcc patch 75822.
Added:
llvm/trunk/test/FrontendC/2009-07-15-pad-wchar_t-array.c
Added: 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=75824&view=auto
==============================================================================
--- llvm/trunk/test/FrontendC/2009-07-15-pad-wchar_t-array.c (added)
+++ llvm/trunk/test/FrontendC/2009-07-15-pad-wchar_t-array.c Wed Jul 15 15:27:44 2009
@@ -0,0 +1,15 @@
+// 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( )
+{
+ wchar_t _sqlState[6] = { L"\0" };
+}
More information about the llvm-commits
mailing list