From 8eb8cf0967b210f6cee3c052f89f7d344acf144e Mon Sep 17 00:00:00 2001 From: malaterre Date: Fri, 7 Jan 2005 21:14:31 +0000 Subject: [PATCH] ENH: doh I forgot to commit this file --- gdcmTestFUNCTION.cxx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 gdcmTestFUNCTION.cxx diff --git a/gdcmTestFUNCTION.cxx b/gdcmTestFUNCTION.cxx new file mode 100644 index 00000000..cf9ef0ae --- /dev/null +++ b/gdcmTestFUNCTION.cxx @@ -0,0 +1,15 @@ +// Minimal test for existence of __FUNCTION__ pseudo-macro +#include + +int TestFUNCTION() +{ + const char *f = __FUNCTION__; + int r = strcmp( "TestFUNCTION", f); + return r; +} + +int main() +{ + return TestFUNCTION(); +} + -- 2.48.1