From f234750d802fde35f6607fd1599f805e490f3dd2 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Thu, 14 Oct 2010 12:41:48 -0700 Subject: Fix crasher in rustc. --- src/test/run-pass/drop-parametric-closure-with-bound-box.rs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/test/run-pass/drop-parametric-closure-with-bound-box.rs (limited to 'src/test') diff --git a/src/test/run-pass/drop-parametric-closure-with-bound-box.rs b/src/test/run-pass/drop-parametric-closure-with-bound-box.rs new file mode 100644 index 00000000..cf1ff750 --- /dev/null +++ b/src/test/run-pass/drop-parametric-closure-with-bound-box.rs @@ -0,0 +1,5 @@ +fn f[T](@int i, T t) {} + +fn main() { + auto x = bind f[char](@0xdeafbeef, _); +} \ No newline at end of file -- cgit v1.2.3