Created
April 15, 2014 14:50
-
-
Save madbence/10738681 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
struct foo { | |
static int bar; | |
int baz; | |
foo():baz(bar){} | |
foo(int woof):baz(woof){} | |
}; | |
int foo::bar = 3; | |
int main() { | |
foo qux; | |
return qux.baz; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment