Created
February 22, 2019 10:21
-
-
Save kaityo256/641b5f9ec4dd771144031d636b299b75 to your computer and use it in GitHub Desktop.
Infinite Loop on Mac GCC
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
| #include <iostream> | |
| int foo(int m) { | |
| std::cout << 1 << std::endl; | |
| std::cout << 2 << std::endl; | |
| } | |
| void bar() { | |
| foo(0); | |
| } | |
| int main() { | |
| foo(0); | |
| } |
Author
kaityo256
commented
Feb 22, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment