srcanamdw_os/leavescan/test/testcases/LS1-testcases/PCT-LeaveScan-LS1-001.cpp
changeset 0 83f4b4db085c
child 2 99082257a271
equal deleted inserted replaced
-1:000000000000 0:83f4b4db085c
       
     1 //desc:test comment and string and marco of LS1
       
     2 //option:
       
     3 //date:2008-8-12 15:58:1
       
     4 //author:pingorliu
       
     5 //type: CT
       
     6 
       
     7 void func()
       
     8 {
       
     9 /*fooL();*/ //check:-func
       
    10 
       
    11 /*
       
    12  *
       
    13  * fooL();  //check:-func
       
    14  *
       
    15 */	
       
    16 
       
    17 //this is a function call fooL(); //check:-func
       
    18 
       
    19 //"this is another function call fooL();" //check:-func
       
    20 
       
    21 string str = "calling fooL()"; //check:-func
       
    22 string str2 = "\"calling fooL()\""; //check:-func
       
    23 string str3 = "\"calling fooL()"; //check:-func
       
    24 string str4 = "'calling fooL()'"; //check:-func
       
    25 string str5 = "'calling fooL()"; //check:-func
       
    26 string str6 = " this is a function\
       
    27                 fooL()";  //check:-func
       
    28 
       
    29 MARCOFOOL(); //check:func,macro
       
    30 
       
    31 int b = 1;
       
    32 fx(/*fooL()*/ b); //check:-func
       
    33 fx(/*                                        fooL()//        */ b); //check:-func
       
    34 }
       
    35