diff options
author | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-10-06 23:49:31 +0000 |
---|---|---|
committer | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-10-06 23:49:31 +0000 |
commit | 606686f71b6ebf5013c875f824fc9cf8f3a54762 (patch) | |
tree | d621dc1dd53271075bd5a9abc892ace23b51a3af /gcc/testsuite/obj-c++.dg/encode-5.mm | |
parent | 64c7c50c03580ea8e3076f683ef9347352f50544 (diff) | |
download | gcc-606686f71b6ebf5013c875f824fc9cf8f3a54762.tar.gz |
PR testsuite/23611, PR testsuite/23615
* obj-c++.dg/bitfield-3.mm: Include standard headers instead of
writing prototypes of library functions by hand.
* obj-c++.dg/bitfield-4.mm: Likewise.
* obj-c++.dg/const-str-4.mm: Likewise.
* obj-c++.dg/encode-4.mm: Likewise.
* obj-c++.dg/encode-5.mm: Likewise.
* obj-c++.dg/encode-6.mm: Likewise.
* obj-c++.dg/gnu-runtime-3.mm: Likewise.
* obj-c++.dg/method-10.mm: Likewise.
* obj-c++.dg/method-17.mm: Likewise.
* obj-c++.dg/method-19.mm: Likewise.
* obj-c++.dg/try-catch-2.mm: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105074 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/obj-c++.dg/encode-5.mm')
-rw-r--r-- | gcc/testsuite/obj-c++.dg/encode-5.mm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/testsuite/obj-c++.dg/encode-5.mm b/gcc/testsuite/obj-c++.dg/encode-5.mm index 9a36326a355..748df7c634e 100644 --- a/gcc/testsuite/obj-c++.dg/encode-5.mm +++ b/gcc/testsuite/obj-c++.dg/encode-5.mm @@ -13,10 +13,9 @@ #include <objc/objc-api.h> #endif -extern "C" { - extern int sscanf(const char *str, const char *format, ...); - extern void abort(void); -} +#include <stdio.h> +#include <stdlib.h> + #define CHECK_IF(expr) if(!(expr)) abort() enum Enum { |