Created
June 30, 2014 09:49
-
-
Save mattn/bf1e56aa832c031e5df6 to your computer and use it in GitHub Desktop.
This file contains 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
#include <cstdio> | |
#include <math.h> | |
class C { | |
public: | |
C() {} | |
C(double) { printf("hello world\n"); } | |
void fuck() {}; | |
}; | |
int main(int argc, char** argv) | |
{ | |
C(NAN); | |
NAN.fuck(); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment