Created
January 3, 2019 04:49
-
-
Save omo/1a4697f04a2d22a139117e613831d998 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
const int large_size = 32*1024*1024; | |
const volatile int large[large_size] = {}; | |
int main() { | |
for (int i = 0; i < large_size; i++) { | |
volatile int li = large[i]; | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment