Kaydet (Commit) cf9385c6 authored tarafından SiegeLord's avatar SiegeLord

Rust: Add test for character literals.

üst 756344d9
......@@ -6,6 +6,15 @@ use std::io::stdio::println;
use test_input2::*;
mod test_input2;
fn lifetime_and_char<'lifetime>(_: &'lifetime int)
{
let s = '"';
let s = '}';
let s = '\'';
let s = '\uffff';
fn not_hidden_by_char() {}
}
fn preserve_string_delims(_bar: extern r#"C"# fn()) {}
pub struct A
......
......@@ -27,9 +27,11 @@ foo
foo_field_18Foo0
gfunc16<X:Testable+DoZ>(x:&X)0
ignore655360
lifetime_and_char16<'lifetime>(_: &'lifetime int)0
main16()0
my_method128(&self,_:int)Foo0
nested16()main0
not_hidden_by_char16()lifetime_and_char0
only_field8S10
preserve_string_delims16(_bar: extern r#"C"# fn())0
size163840
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment