diff options
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/Lexer/ms-compatibility-wchar.c | 12 | ||||
| -rw-r--r-- | clang/test/Lexer/ms-extensions-wchar.c | 12 |
2 files changed, 0 insertions, 24 deletions
diff --git a/clang/test/Lexer/ms-compatibility-wchar.c b/clang/test/Lexer/ms-compatibility-wchar.c deleted file mode 100644 index 966292eeb1d..00000000000 --- a/clang/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/clang/test/Lexer/ms-extensions-wchar.c b/clang/test/Lexer/ms-extensions-wchar.c deleted file mode 100644 index 9321c3a9149..00000000000 --- a/clang/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. |

