From: malaterre Date: Fri, 7 Jan 2005 21:14:31 +0000 (+0000) Subject: ENH: doh I forgot to commit this file X-Git-Tag: Version1.0.bp~430 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=8eb8cf0967b210f6cee3c052f89f7d344acf144e;p=gdcm.git ENH: doh I forgot to commit this file --- 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(); +} +