summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/implicit-ms-builtin-decl.c
diff options
context:
space:
mode:
authorAlbert Gutowski <agutowski@google.com>2016-09-13 21:24:51 +0000
committerAlbert Gutowski <agutowski@google.com>2016-09-13 21:24:51 +0000
commit9918cb65736a69a141bba65e33e4a56f313681e4 (patch)
tree45ab273b27f21c1dae373d34f356f5e2bfcca6d5 /clang/test/Sema/implicit-ms-builtin-decl.c
parent807ee2ff69035ba5a31aeb1654a98e3506b97786 (diff)
downloadbcm5719-llvm-9918cb65736a69a141bba65e33e4a56f313681e4.tar.gz
bcm5719-llvm-9918cb65736a69a141bba65e33e4a56f313681e4.zip
Reverse commit 281375 (breaks building Chromium)
llvm-svn: 281399
Diffstat (limited to 'clang/test/Sema/implicit-ms-builtin-decl.c')
-rw-r--r--clang/test/Sema/implicit-ms-builtin-decl.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/clang/test/Sema/implicit-ms-builtin-decl.c b/clang/test/Sema/implicit-ms-builtin-decl.c
deleted file mode 100644
index e43d8f867d8..00000000000
--- a/clang/test/Sema/implicit-ms-builtin-decl.c
+++ /dev/null
@@ -1,19 +0,0 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -fms-extensions
-
-void f() {
- (void)_byteswap_ushort(42); // expected-warning{{implicitly declaring library function '_byteswap_ushort}} \
- // expected-note{{include the header <stdlib.h> or explicitly provide a declaration for '_byteswap_ushort'}}
- (void)_byteswap_uint64(42LL); // expected-warning{{implicitly declaring library function '_byteswap_uint64}} \
- // expected-note{{include the header <stdlib.h> or explicitly provide a declaration for '_byteswap_uint64'}}
-}
-
-void _byteswap_ulong(); // expected-warning{{incompatible redeclaration of library function '_byteswap_ulong'}} \
-// expected-note{{'_byteswap_ulong' is a builtin}}
-
-unsigned short _byteswap_ushort(unsigned short);
-unsigned long long _byteswap_uint64(unsigned long long);
-
-void g() {
- (void)_byteswap_ushort(42);
- (void)_byteswap_uint64(42LL);
-}
OpenPOWER on IntegriCloud