Add new minimal test for current blocker on bootstrapping.
This commit is contained in:
parent
86d4601827
commit
8382990627
12
src/test/run-pass/tag-and-generic-obj.rs
Normal file
12
src/test/run-pass/tag-and-generic-obj.rs
Normal file
@ -0,0 +1,12 @@
|
||||
// xfail-stage0
|
||||
|
||||
tag colour { red; green; }
|
||||
|
||||
obj foo[T]() {
|
||||
fn meth(&T x) {
|
||||
}
|
||||
}
|
||||
|
||||
fn main() {
|
||||
foo[colour]().meth(red);
|
||||
}
|
Loading…
Reference in New Issue
Block a user