Ticket #1161: Arith.mo

File Arith.mo, 183 bytes (added by asodja, 15 years ago)
Line 
1model Arith
2
3 function wtf
4 output Integer res;
5 protected
6 Integer r;
7 algorithm
8 r := 1;
9 res := 2*(2^r);
10 end wtf;
11
12 parameter Integer param = wtf();
13
14end Arith;