[cfe-commits] r65587 - in /cfe/trunk/test/Sema: wchar.c wchar_size.c
Chris Lattner
sabre at nondot.org
Thu Feb 26 15:36:18 PST 2009
Author: lattner
Date: Thu Feb 26 17:36:18 2009
New Revision: 65587
URL: http://llvm.org/viewvc/llvm-project?rev=65587&view=rev
Log:
rename test
Added:
cfe/trunk/test/Sema/wchar.c
- copied unchanged from r65586, cfe/trunk/test/Sema/wchar_size.c
Removed:
cfe/trunk/test/Sema/wchar_size.c
Removed: cfe/trunk/test/Sema/wchar_size.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/wchar_size.c?rev=65586&view=auto
==============================================================================
--- cfe/trunk/test/Sema/wchar_size.c (original)
+++ cfe/trunk/test/Sema/wchar_size.c (removed)
@@ -1,12 +0,0 @@
-// RUN: clang %s -fsyntax-only -verify
-#include <wchar.h>
-
-int check_wchar_size[sizeof(*L"") == sizeof(wchar_t) ? 1 : -1];
-
-void foo() {
- int t1[] = L"x";
- wchar_t tab[] = L"x";
-
- int t2[] = "x"; // expected-error {{initialization}}
- char t3[] = L"x"; // expected-error {{initialization}}
-}
More information about the cfe-commits
mailing list