Created
October 29, 2012 21:01
-
-
Save stepancheg/3976519 to your computer and use it in GitHub Desktop.
asas
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 aaa { | |
const int x; | |
aaa(): x(1) {} | |
}; | |
int main() { | |
aaa a; | |
aaa b; | |
b = a; // compilation error | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment