]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-3979-2.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-3979-2.rs
CommitLineData
60c5eb7d 1// check-pass
c34b1796
AL
2// pretty-expanded FIXME #23616
3
223e47cc 4trait A {
970d7e83 5 fn a_method(&self);
223e47cc
LB
6}
7
8trait B: A {
970d7e83 9 fn b_method(&self);
223e47cc
LB
10}
11
12trait C: B {
970d7e83 13 fn c_method(&self) {
223e47cc
LB
14 self.a_method();
15 }
16}
17
18pub fn main() {}