ViewVC logotype

Contents of /trunk/eweasel/tests/codeanalysis026/tcf

Parent Directory Parent Directory | Revision Log Revision Log

Revision 100643 - (show annotations)
Sat Aug 19 10:48:39 2017 UTC (2 years ago) by alexk
File size: 330 byte(s)
Added an example demonstraing spuriuos CA050 when a local is used only to initialize Result, but the local type is different from the type of Result.
1 test_name ca-local-only-initializes-result
2 test_description A warning about using a local only to initialize Result should be reported only when types of the local and Result are the same.
4 copy_sub Ace $TEST Ace
5 copy_raw test.e $CLUSTER test.e
7 analyze_code rule "CA050"
8 analyze_code_result violation "TEST CA050:29"
10 test_end


Name Value
svn:eol-style native
svn:keywords Author Date ID Revision

  ViewVC Help
Powered by ViewVC 1.1.23