source: CIVL/examples/languageFeatures/char.cvl@ 32410ee

1.23 2.0 main test-branch
Last change on this file since 32410ee was 9ede425, checked in by Manchun Zheng <zmanchun@…>, 12 years ago

Supported char constant, by CharLiteralExpression. Tests added accordingly to reflect the new feature.

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

  • Property mode set to 100644
File size: 155 bytes
Line 
1/*
2 * Commandline example:
3 * civl verify char.cvl
4 */
5#include <stdio.h>
6void main(){
7 char a = 'a';
8 a = 'b';
9 printf("The char value is %c", a);
10}
Note: See TracBrowser for help on using the repository browser.