[geany/geany] cf9385: Rust: Add test for character literals.
SiegeLord
git-noreply at xxxxx
Tue Jul 29 14:55:15 UTC 2014
Branch: refs/heads/master
Author: SiegeLord <slabode at aim.com>
Committer: SiegeLord <slabode at aim.com>
Date: Tue, 29 Jul 2014 14:55:15 UTC
Commit: cf9385c6d49eaee4788847b4bda5b9b7b727d087
https://github.com/geany/geany/commit/cf9385c6d49eaee4788847b4bda5b9b7b727d087
Log Message:
-----------
Rust: Add test for character literals.
Modified Paths:
--------------
tests/ctags/test_input.rs
tests/ctags/test_input.rs.tags
Modified: tests/ctags/test_input.rs
9 lines changed, 9 insertions(+), 0 deletions(-)
===================================================================
@@ -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
Modified: tests/ctags/test_input.rs.tags
2 lines changed, 2 insertions(+), 0 deletions(-)
===================================================================
@@ -27,9 +27,11 @@ foo
foo_field_1�8�Foo�0
gfunc�16�<X:Testable+DoZ>(x:&X)�0
ignore�65536�0
+lifetime_and_char�16�<'lifetime>(_: &'lifetime int)�0
main�16�()�0
my_method�128�(&self,_:int)�Foo�0
nested�16�()�main�0
+not_hidden_by_char�16�()�lifetime_and_char�0
only_field�8�S1�0
preserve_string_delims�16�(_bar: extern r#"C"# fn())�0
size�16384�0
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list