mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
C++: Add test case that shows that __func__ is not considered static
This commit is contained in:
@@ -55,3 +55,7 @@ struct address {
|
||||
void hasExtern() {
|
||||
extern int externInFunction;
|
||||
}
|
||||
|
||||
const char* isStatic() {
|
||||
return __func__;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user