diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2013-05-04 16:56:22 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2013-05-04 16:56:22 +0000 |
commit | f9734241b141ad9c19969bab9b56dd4246e35e7d (patch) | |
tree | 079f1231cac302394a027ac262a4cf15c646a5df /test | |
parent | aa3d68af3b533ee79a862f2c6d159b79d278a6fc (diff) |
Reverting r181004 since it has broken test/Sema/wchar.c.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181122 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Lexer/ms-compatibility-wchar.c | 12 | ||||
-rw-r--r-- | test/Lexer/ms-extensions-wchar.c | 12 |
2 files changed, 0 insertions, 24 deletions
diff --git a/test/Lexer/ms-compatibility-wchar.c b/test/Lexer/ms-compatibility-wchar.c deleted file mode 100644 index 966292eeb1..0000000000 --- a/test/Lexer/ms-compatibility-wchar.c +++ /dev/null @@ -1,12 +0,0 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -fms-compatibility -triple i386-pc-win32 %s - -// C++ mode with -fno-wchar works the same as C mode for wchar_t. -// RUN: %clang_cc1 -x c++ -fno-wchar -fsyntax-only -verify -fms-compatibility -triple i386-pc-win32 %s - -wchar_t f(); // expected-error{{unknown type name 'wchar_t'}} - -// __wchar_t is available as an MS extension. -__wchar_t g; // expected-note {{previous}} - -// __wchar_t is a distinct type, separate from the target's integer type for wide chars. -unsigned short g; // expected-error {{redefinition of 'g' with a different type: 'unsigned short' vs '__wchar_t'}} diff --git a/test/Lexer/ms-extensions-wchar.c b/test/Lexer/ms-extensions-wchar.c deleted file mode 100644 index 9321c3a914..0000000000 --- a/test/Lexer/ms-extensions-wchar.c +++ /dev/null @@ -1,12 +0,0 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -fms-extensions -triple i386-pc-win32 %s - -// C++ mode with -fno-wchar works the same as C mode for wchar_t. -// RUN: %clang_cc1 -x c++ -fno-wchar -fsyntax-only -verify -fms-extensions -triple i386-pc-win32 %s - -wchar_t f(); // expected-error{{unknown type name 'wchar_t'}} - -// __wchar_t is available as an MS extension. -__wchar_t g(); // No error. - -// __wchar_t is the same as the target's integer type for wide chars. -unsigned short g(); // No error. |