summaryrefslogtreecommitdiff
path: root/reference/C/CONTRIB/OR_PRACTICAL_C/troff.test
blob: 98686f7847469006316b49fd17af07d428a00daf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Test file for the troff line program
.tm this is a test
    .tm test is more test
.tm test once again
.xx this is an error
Test of macro that has no arguments
.br
Put an argument where there should be none
.br
Expect string argument
.tm string
Two strings
.tm string string
Integer
.br
12+34
String where number expected
.br
test
Vertical bar
.lt |0
No vertical bar
.lt 0
Font check
Bad font check
Character
'left'middle'right'
bad
'bad
'bad'bad
'bad'bad'
"quoted string"
"almost quoted string
.sp 12.0
Cause an expression error
.sp 12.0_12.0