blob: 88c67e5c131d546e59abb0eb1e35b27441d4deac (
plain) (
blame)
1
2
3
4
5
6
7
|
// expect error: this is implicit and cannot be declared as a method parameter
// spec 5.5.2
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
struct s { int x; fn m(s* this) { return 0; } }
fn main() { return 0; }
// zc0: skip
|