Add a test for block expressions that have results. XFAILed.
This commit is contained in:
parent
c66edca83d
commit
2490cd3275
11
src/test/run-pass/expr-block-box.rs
Normal file
11
src/test/run-pass/expr-block-box.rs
Normal file
@ -0,0 +1,11 @@
|
||||
// xfail-boot
|
||||
// xfail-stage0
|
||||
// -*- rust -*-
|
||||
|
||||
fn main() {
|
||||
auto x = {
|
||||
@100
|
||||
};
|
||||
|
||||
check (*x == 100);
|
||||
}
|
Loading…
Reference in New Issue
Block a user