demos/spp/test
raw| 1 | --- test.c.i 2010-05-25 11:50:20.000000000 +0200 |
| 2 | +++ /tmp/cocci-output-6159-8a3e07-test.c.i 2010-05-25 11:50:20.000000000 +0200 |
| 3 | @@ -11,7 +11,7 @@ int main(void) { |
| 4 | |
| 5 | |
| 6 | |
| 7 | - x = 2; |
| 8 | + x = 2 + 1; |
| 9 | |
| 10 | return x; |
| 11 | } |
| 12 | --- test2.c.i 2010-05-25 11:50:20.000000000 +0200 |
| 13 | +++ /tmp/cocci-output-6174-d107da-test2.c.i 2010-05-25 11:50:20.000000000 +0200 |
| 14 | @@ -4,6 +4,6 @@ |
| 15 | # 1 "test2.c" |
| 16 | int main() { |
| 17 | int foo; |
| 18 | - foo = 1000; |
| 19 | + foo = 1000 + 1; |
| 20 | return 0; |
| 21 | } |