source: CIVL/examples/library/civlc/assertBad.cvl@ b5f707b

1.23 2.0 main test-branch
Last change on this file since b5f707b was 5d1eb5a, checked in by Manchun Zheng <zmanchun@…>, 11 years ago

improved the printing of error messages for assertion violations.

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

  • Property mode set to 100644
File size: 98 bytes
Line 
1#include<civlc.cvh>
2
3int main(){
4 int a = 1, b = 2, c = 3, d = 4;
5
6 $assert((a+b) == (c+d));
7}
8
Note: See TracBrowser for help on using the repository browser.