main
test-branch
|
Last change
on this file since bb03188 was c74ec20, checked in by Stephen Siegel <siegel@…>, 2 years ago |
|
Add attribute string support to abstract functions in ABC
Add support in CIVL & SARL for some special attributes (e.g., "partial-order")
git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5868 fb995dde-84ed-4084-dfe6-e5aef3e2452c
|
-
Property mode
set to
100644
|
|
File size:
207 bytes
|
| Line | |
|---|
| 1 | #include <civlc.cvh>
|
|---|
| 2 |
|
|---|
| 3 | $abstract("partial-order") _Bool f(int, double);
|
|---|
| 4 |
|
|---|
| 5 | int main() {
|
|---|
| 6 | $assume(f(1, 2));
|
|---|
| 7 | $assume(f(2, 3));
|
|---|
| 8 | $assert(f(1, 3)); // f is defined in an ill form so the attribute is ignored
|
|---|
| 9 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.