Skip to content

Commit ef7db2f

Browse files
committed
Add test case for a tri-rotate case
1 parent ddc001f commit ef7db2f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/ui/suspicious_arguments.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,16 @@ fn varargs() {
117117
}
118118
}
119119

120+
fn tri_rotate() {
121+
fn large_resize(width: usize, height: usize, depth: usize) {}
122+
123+
let width = 0;
124+
let height = 0;
125+
let depth = 0;
126+
127+
large_resize(height, depth, width);
128+
}
129+
120130

121131
fn main() {
122132
function_names();

0 commit comments

Comments
 (0)