summaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2009-07-15-pad-wchar_t-array.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/FrontendC/2009-07-15-pad-wchar_t-array.c')
-rw-r--r--test/FrontendC/2009-07-15-pad-wchar_t-array.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/FrontendC/2009-07-15-pad-wchar_t-array.c b/test/FrontendC/2009-07-15-pad-wchar_t-array.c
new file mode 100644
index 0000000..41bdef2
--- /dev/null
+++ b/test/FrontendC/2009-07-15-pad-wchar_t-array.c
@@ -0,0 +1,7 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
+
+#include <stddef.h>
+signed short _iodbcdm_sqlerror( )
+{
+ wchar_t _sqlState[6] = { L"\0" };
+}
OpenPOWER on IntegriCloud