source: CIVL/examples/languageFeatures/procsEqual.cvl@ 83c054c

1.23 2.0 main test-branch
Last change on this file since 83c054c was 4fb92cb, checked in by Manchun Zheng <zmanchun@…>, 12 years ago

implemented the system function for checking the equality of two process references; fixed the printing bug of run mode.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@728 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 139 bytes
Line 
1#include <civlc.h>
2#include <stdio.h>
3
4void main() {
5 $proc p = $self, q = $self;
6 _Bool result = equalsTo(p,q);
7
8 $assert(result);
9}
Note: See TracBrowser for help on using the repository browser.