~eda-qa/leaflang/byte_block

« back to all changes in this revision

Viewing changes to share/unit_tests/block/parametric/function/explicit_call2.lfb

  • Committer: edA-qa mort-ora-y
  • Date: 2018-03-25 13:07:49 UTC
  • Revision ID: eda-qa@disemia.com-20180325130749-g107hygtg32217bo
another test

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
        EXPECT(7C)
 
3
*/
 
4
defn init = ( x : integer value_ptr ) -> {
 
5
        x := 7
 
6
}
 
7
defn init = ( x : char value_ptr ) -> {
 
8
        x := 'C'
 
9
}
 
10
 
 
11
defn pine_def = param「T」 ( ) -> ( x : T ) {
 
12
        init(x)
 
13
}
 
14
 
 
15
 
 
16
trace( pine_def「integer」() )
 
17
trace( pine_def「char」() )