diff options
author | David Chisnall <csdavec@swan.ac.uk> | 2011-09-21 17:37:18 +0000 |
---|---|---|
committer | David Chisnall <csdavec@swan.ac.uk> | 2011-09-21 17:37:18 +0000 |
commit | 13bddcf1bc1681c6c10cfd59f14343c5e0655bc6 (patch) | |
tree | 03d7c70a0c56b6f1672511f29d5120415186dd7a /libcxx | |
parent | 24b6588743311267df03418b11cf72198c3b63ad (diff) | |
download | bcm5719-llvm-13bddcf1bc1681c6c10cfd59f14343c5e0655bc6.tar.gz bcm5719-llvm-13bddcf1bc1681c6c10cfd59f14343c5e0655bc6.zip |
Remove undefines in cstdio test. Fix these properly rather than bodging the tests.
llvm-svn: 140264
Diffstat (limited to 'libcxx')
-rw-r--r-- | libcxx/test/input.output/file.streams/c.files/cstdio.pass.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/libcxx/test/input.output/file.streams/c.files/cstdio.pass.cpp b/libcxx/test/input.output/file.streams/c.files/cstdio.pass.cpp index 367fa2c4db5..9b8212150e4 100644 --- a/libcxx/test/input.output/file.streams/c.files/cstdio.pass.cpp +++ b/libcxx/test/input.output/file.streams/c.files/cstdio.pass.cpp @@ -76,30 +76,6 @@ #error stdout not defined #endif -// As an optimisation, these may be defined as macros in the C header. We want -// to check the functions, not the macros. -#ifdef puts -#undef puts -#endif -#ifdef putc -#undef putc -#endif -#ifdef getc -#undef getc -#endif -#ifdef putchar -#undef putchar -#endif -#ifdef clearerr -#undef clearerr -#endif -#ifdef feof -#undef feof -#endif -#ifdef ferror -#undef ferror -#endif - #include <cstdarg> int main() |