cmake/c++11-test-__func__-N2340.cpp

changeset 473
2a84149fe642
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cmake/c++11-test-__func__-N2340.cpp	Thu Aug 22 20:24:16 2013 +0300
@@ -0,0 +1,8 @@
+#include <cstring>
+
+int main()
+{
+	if (!__func__) { return 1; }
+	if(std::strlen(__func__) <= 0) { return 1; }
+	return 0;
+}

mercurial