[cfe-commits] [libcxx] r140264 - /libcxx/trunk/test/input.output/file.streams/c.files/cstdio.pass.cpp

David Chisnall csdavec at swan.ac.uk
Wed Sep 21 10:37:18 PDT 2011


Author: theraven
Date: Wed Sep 21 12:37:18 2011
New Revision: 140264

URL: http://llvm.org/viewvc/llvm-project?rev=140264&view=rev
Log:
Remove undefines in cstdio test.  Fix these properly rather than bodging the tests.


Modified:
    libcxx/trunk/test/input.output/file.streams/c.files/cstdio.pass.cpp

Modified: libcxx/trunk/test/input.output/file.streams/c.files/cstdio.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/input.output/file.streams/c.files/cstdio.pass.cpp?rev=140264&r1=140263&r2=140264&view=diff
==============================================================================
--- libcxx/trunk/test/input.output/file.streams/c.files/cstdio.pass.cpp (original)
+++ libcxx/trunk/test/input.output/file.streams/c.files/cstdio.pass.cpp Wed Sep 21 12:37:18 2011
@@ -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()





More information about the cfe-commits mailing list