summaryrefslogtreecommitdiff
path: root/checks/001.preprocess
blob: 14667d82264226feccaad2e6e4f91fa23c1574c6 (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
37
38
39
dnl @ ../doc/m4.texi:719: Origin of test
dnl @ expected status: 0
dnl @ extra options:  -s
dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software
dnl @ Foundation, Inc.
dnl @ This file is free software; the Free Software Foundation
dnl @ gives unlimited permission to copy and/or distribute it
dnl @ with or without modifications, as long as this notice
dnl @ is preserved.
define(`twoline', `1
2')
dnl @result{}#line 2 "stdin"
dnl @result{}
changecom(`/*', `*/')
dnl @result{}
define(`comment', `/*1
2*/')
dnl @result{}#line 5
dnl @result{}
dnl no line
hello
dnl @result{}#line 7
dnl @result{}hello
twoline
dnl @result{}1
dnl @result{}#line 8
dnl @result{}2
comment
dnl @result{}/*1
dnl @result{}2*/
one comment `two
three'
dnl @result{}#line 10
dnl @result{}one /*1
dnl @result{}2*/ two
dnl @result{}three
goodbye
dnl @result{}#line 12
dnl @result{}goodbye