source: CIVL/examples/translation/pthread/errorTest/strcp.cvl@ e1b32beb

1.23 2.0 main test-branch
Last change on this file since e1b32beb was 48787d9, checked in by John Edenhofner <johneden@…>, 12 years ago

Implemented strcmp as a system function and added usage to string.cvl for testing

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

  • Property mode set to 100644
File size: 95 bytes
Line 
1#include <string.h>
2
3int main(){
4 char * a = "doi";
5 int x = strcmp(a, "doi");
6 return x;
7}
Note: See TracBrowser for help on using the repository browser.