diff options
Diffstat (limited to 'src/tools/clippy/tests/ui/crashes/ice-9625.rs')
-rw-r--r-- | src/tools/clippy/tests/ui/crashes/ice-9625.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui/crashes/ice-9625.rs b/src/tools/clippy/tests/ui/crashes/ice-9625.rs new file mode 100644 index 000000000..a765882b5 --- /dev/null +++ b/src/tools/clippy/tests/ui/crashes/ice-9625.rs @@ -0,0 +1,4 @@ +fn main() { + let x = &1; + let _ = &1 < x && x < &10; +} |