diff --git a/src/Makefile b/src/Makefile index c9b8bddff9a..56d41790962 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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 \ diff --git a/src/test/run-pass/deref.rs b/src/test/run-pass/deref.rs new file mode 100644 index 00000000000..36a28ba562e --- /dev/null +++ b/src/test/run-pass/deref.rs @@ -0,0 +1,4 @@ +fn main() { + let @int x = @10; + let int y = *x; +} \ No newline at end of file