Is it possible somehow to check at compile time or at run time that variable has static storage-class specifier?
static
Example:
static int v1; i