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 | d428ff46fe7f6b2ac05436be6abb7d7da43cd8b9 (patch) | |
| tree | 09386d2fcf120fd850bc1f86c64c5d0f4695551f /clang/test | |
| parent | 85dcbde2392d85a859f26afacc0ccf463ce6acfe (diff) | |
| download | bcm5719-llvm-d428ff46fe7f6b2ac05436be6abb7d7da43cd8b9.tar.gz bcm5719-llvm-d428ff46fe7f6b2ac05436be6abb7d7da43cd8b9.zip | |
Reverting r181004 since it has broken test/Sema/wchar.c.
llvm-svn: 181122
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. |

