Add test case for issue 7911
auto merge of #11898 : JeremyLetang/rust/issue-7911, r=alexcrichton

Issue #7911 report an ICE with self in macro in two methods with differing self mutability.

This seems to be solved now.

Closes #7911.