c++: Fix handling of the `final` contextual keyword
[geany-mirror.git] / tests / ctags / test_input2.rs
blob163cc8aab8c1ace3c08e26cb04d387c5fcf8ca78
1 #![cfg(not(test))] fn not_hashbang() {}
3 pub fn foo_bar_test_func(apples:fruit::SomeStruct,(oranges,lemon):(int,int))->int{
4         use std::io::stdio::println;
5         let some_var_name=2*oranges;
6         let a=SomeLongStructName{v:0};
7         println("a");println("b");      println("c");
8         veg::another_function(apples.red_value,oranges,lemon);
9         some_var_name-apples.red_value+lemon+a.v
12 pub mod fruit {
13         pub struct SomeStruct{
14                 pub red_value: int,
15                 pub green_value: int,
16                 pub blue_value: int
17         }
20 fn free_func() {
23 impl SomeLongStructName {
24         fn fooo() {
25         }
26         fn baaz() {
27         }
30 pub struct SomeLongStructName {v:int}
32 mod veg{
33         pub fn another_function(a:int,b:int,c:int)->int {
34                 a+b+c
35         }
38 mod mineral {
39         fn granite() {
40         }
41         fn limestone() {
42         }
43         fn chalk() {
44         }