diff -r 000000000000 -r 83f4b4db085c srcanamdw_os/leavescan/test/testcases/LS1-testcases/PCT-LeaveScan-LS1-001.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/srcanamdw_os/leavescan/test/testcases/LS1-testcases/PCT-LeaveScan-LS1-001.cpp Tue Feb 02 01:39:43 2010 +0200 @@ -0,0 +1,35 @@ +//desc:test comment and string and marco of LS1 +//option: +//date:2008-8-12 15:58:1 +//author:pingorliu +//type: CT + +void func() +{ +/*fooL();*/ //check:-func + +/* + * + * fooL(); //check:-func + * +*/ + +//this is a function call fooL(); //check:-func + +//"this is another function call fooL();" //check:-func + +string str = "calling fooL()"; //check:-func +string str2 = "\"calling fooL()\""; //check:-func +string str3 = "\"calling fooL()"; //check:-func +string str4 = "'calling fooL()'"; //check:-func +string str5 = "'calling fooL()"; //check:-func +string str6 = " this is a function\ + fooL()"; //check:-func + +MARCOFOOL(); //check:func,macro + +int b = 1; +fx(/*fooL()*/ b); //check:-func +fx(/* fooL()// */ b); //check:-func +} +