Add test case for #2356

This commit is contained in:
Tim Chevalier 2012-08-25 09:15:32 -07:00
parent 33ba097069
commit bb5c07922f

View file

@ -0,0 +1,4 @@
struct cat {
tail: int;
fn meow() { tail += 1; } //~ ERROR: Did you mean: `self.tail`
}