C++: Add test case that shows that __func__ is not considered static

This commit is contained in:
Jeroen Ketema
2024-06-06 20:31:45 +02:00
parent 9f4c1380e5
commit 798357ffc6
2 changed files with 5 additions and 0 deletions

View File

@@ -55,3 +55,7 @@ struct address {
void hasExtern() {
extern int externInFunction;
}
const char* isStatic() {
return __func__;
}