1 | namespace a { |
---|---|
2 | extern int kGlobalInt; |
3 | extern const char *const kGlobalStr; |
4 | } |
5 | |
6 | int kEvilInt = 2; |
7 | |
8 | inline void f1() { |
9 | int kGlobalInt = 3; |
10 | const char *const kGlobalStr = "Hello2"; |
11 | } |
12 |
1 | namespace a { |
---|---|
2 | extern int kGlobalInt; |
3 | extern const char *const kGlobalStr; |
4 | } |
5 | |
6 | int kEvilInt = 2; |
7 | |
8 | inline void f1() { |
9 | int kGlobalInt = 3; |
10 | const char *const kGlobalStr = "Hello2"; |
11 | } |
12 |