diff options
Diffstat (limited to 'deps/entityx/cxx11/c++11-test-__func__-N2340.cpp')
-rw-r--r-- | deps/entityx/cxx11/c++11-test-__func__-N2340.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/deps/entityx/cxx11/c++11-test-__func__-N2340.cpp b/deps/entityx/cxx11/c++11-test-__func__-N2340.cpp new file mode 100644 index 0000000..d961df8 --- /dev/null +++ b/deps/entityx/cxx11/c++11-test-__func__-N2340.cpp @@ -0,0 +1,8 @@ +#include <cstring> + +int main() +{ + if (!__func__) { return 1; } + if(std::strlen(__func__) <= 0) { return 1; } + return 0; +} |