source: CIVL/examples/languageFeatures/assertPrintf.cvl@ ba6c728

main test-branch
Last change on this file since ba6c728 was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago

Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.

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

  • Property mode set to 100644
File size: 220 bytes
RevLine 
[25be2a6]1/*
2 * Commandline example:
3 * civl verify assertPrintf.cvl
4 */
[4208097]5#include<civlc.cvh>
[7168bfa]6#include<stdio.h>
[25be2a6]7
8void main(){
9 int a = 10;
10 int b = 2;
[7168bfa]11
12 printf("hello!");
[3ff27cf]13 $assert(b > a, "%d is smaller than %d!", b, a);
[25be2a6]14}
Note: See TracBrowser for help on using the repository browser.