2018-10-20 16:02:06 -05:00
|
|
|
// compile-pass
|
|
|
|
|
2017-05-14 07:37:50 -05:00
|
|
|
fn main() {
|
2017-05-31 02:43:47 -05:00
|
|
|
let _ = "Foo"_;
|
|
|
|
//~^ WARNING underscore literal suffix is not allowed
|
|
|
|
//~| WARNING this was previously accepted
|
|
|
|
//~| NOTE issue #42326
|
2017-05-14 07:37:50 -05:00
|
|
|
}
|