Last active
November 12, 2015 15:19
-
-
Save lucasmeijer/809bafe065986366ba5e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct A | |
{ | |
static void Foo(); | |
}; | |
void func() | |
{ | |
A a; | |
a.Foo(); | |
//MSVC 2010 & 2015 throw this: | |
//warning C4101: 'a': unreferenced local variable | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment