/[ascend]/trunk/models/test/compiler/fixfree.a4c
ViewVC logotype

Annotation of /trunk/models/test/compiler/fixfree.a4c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2397 - (hide annotations) (download) (as text)
Mon Feb 28 12:18:48 2011 UTC (11 years, 11 months ago) by jpye
File MIME type: text/x-ascend
File size: 242 byte(s)
Add test of failing FIX statements for bug #488.
Commented out unmigrated makemps code (need to migrate to new slv_param_* functions).
1 jpye 2397 REQUIRE "system.a4l";
2    
3     MODEL test1;
4     x,y,z IS_A solver_var;
5     x = y + z;
6     METHODS
7     METHOD on_load;
8     FIX z;
9     END on_load;
10     END test1;
11    
12     MODEL test2;
13     x,y,z IS_A solver_var;
14     x = y + z;
15     METHODS
16     METHOD on_load;
17     FIX x,a,b,z;
18     END on_load;
19     END test2;
20    
21    

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22