diff options
Diffstat (limited to 'src/test/ui/consts/const-expr-addr-operator.rs')
-rw-r--r-- | src/test/ui/consts/const-expr-addr-operator.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/consts/const-expr-addr-operator.rs b/src/test/ui/consts/const-expr-addr-operator.rs deleted file mode 100644 index 37bf24c2f..000000000 --- a/src/test/ui/consts/const-expr-addr-operator.rs +++ /dev/null @@ -1,11 +0,0 @@ -// Encountered while testing #44614. -// build-pass (FIXME(62277): could be check-pass?) - -pub fn main() { - // Constant of generic type (int) - const X: &'static u32 = &22; - assert_eq!(0, match &22 { - X => 0, - _ => 1, - }); -} |