tests/inputs/hello1.pas
raw| 1 | { Hello World in Pascal, for testing SLOCCount. |
| 2 | This is multi-line, testing curly braces. } |
| 3 | (* This is another multi-line comment. |
| 4 | Here's another line. *) |
| 5 | (* This is { another } test. **) |
| 6 | program Hello; |
| 7 | begin (* Main *) |
| 8 | writeln ('Hello, world.'); |
| 9 | writeln ('It''s a test!'); |
| 10 | writeln ('Show that newlines are detected') |
| 11 | end. (* Main *) |
| 12 |