Skip to content

Commit 1b32b13

Browse files
committedAug 11, 2012
Add a can't-nest-rw-arcs test case (xfailed, #3177)
1 parent 0eae571 commit 1b32b13

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// xfail-test
2+
// error-pattern: instantiating a type parameter with an incompatible type
3+
use std;
4+
import std::arc::rw_arc;
5+
6+
fn main() {
7+
let arc1 = ~rw_arc(true);
8+
let _arc2 = ~rw_arc(arc1);
9+
}

0 commit comments

Comments
 (0)
Please sign in to comment.