New test of explicit deref operator.
This commit is contained in:
parent
4ea41512fc
commit
4d00333b1e
@ -356,6 +356,7 @@ TEST_XFAILS_LLVM := $(addprefix test/run-pass/, \
|
||||
complex.rs \
|
||||
dead-code-one-arm-if.rs \
|
||||
deep.rs \
|
||||
deref.rs \
|
||||
div-mod.rs \
|
||||
drop-on-ret.rs \
|
||||
else-if.rs \
|
||||
|
4
src/test/run-pass/deref.rs
Normal file
4
src/test/run-pass/deref.rs
Normal file
@ -0,0 +1,4 @@
|
||||
fn main() {
|
||||
let @int x = @10;
|
||||
let int y = *x;
|
||||
}
|
Loading…
Reference in New Issue
Block a user