aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/drop-parametric-closure-with-bound-box.rs5
1 files changed, 5 insertions, 0 deletions
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