diff options
Diffstat (limited to 'tests/ui/rfc-2497-if-let-chains/ast-pretty-check.rs')
-rw-r--r-- | tests/ui/rfc-2497-if-let-chains/ast-pretty-check.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/rfc-2497-if-let-chains/ast-pretty-check.rs b/tests/ui/rfc-2497-if-let-chains/ast-pretty-check.rs new file mode 100644 index 000000000..69bc189dd --- /dev/null +++ b/tests/ui/rfc-2497-if-let-chains/ast-pretty-check.rs @@ -0,0 +1,6 @@ +// check-pass +// compile-flags: -Z unpretty=expanded + +fn main() { + if let 0 = 1 {} +} |