Changeset View
Changeset View
Standalone View
Standalone View
autotests/folding/preprocessor-bug363280.cpp.fold
1 | <beginfold id='1'>#if 1</beginfold id='1'> | 1 | #<beginfold id='4'>if</beginfold id='4'> 1 | ||
---|---|---|---|---|---|
2 | int x; // variable shall not be grey | 2 | int x; // variable shall not be grey | ||
3 | <endfold id='1'>#endif</endfold id='1'> | 3 | <endfold id='4'>#endif</endfold id='4'> | ||
4 | <beginfold id='1'>#if</beginfold id='1'> defined (A) | 4 | #<beginfold id='4'>if</beginfold id='4'> defined (A) | ||
5 | int y; // variable shall not be grey | 5 | int y; // variable shall not be grey | ||
6 | #elif defined (B) | 6 | #<endfold id='4'>elif</endfold id='4'> defined (B)<beginfold id='4'>elif</beginfold id='4'> defined (B) | ||
7 | int z; // variable shall not be grey | 7 | int z; // variable shall not be grey | ||
8 | <endfold id='1'>#endif</endfold id='1'> | 8 | #<endfold id='4'>endif</endfold id='4'> |