Created
May 15, 2011 19:01
-
-
Save vladimir-vg/973431 to your computer and use it in GitHub Desktop.
g++ goes to infinite loop when try to parse this.
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
template<class T> struct Loop { Loop<T*> operator->(); }; | |
Loop<int> i, j = i->hooray; |
Author
vladimir-vg
commented
May 15, 2011
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment