2011-12-29 14:03:39 -06:00
|
|
|
// error-pattern:mismatched types: expected `()` but found `bool`
|
2011-11-07 14:19:50 -06:00
|
|
|
|
2012-08-15 20:46:55 -05:00
|
|
|
struct r {
|
2012-06-01 19:47:53 -05:00
|
|
|
new() {}
|
|
|
|
drop { true }
|
2011-11-07 14:19:50 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
}
|