repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.dg
/
cpp
/
trad
/
strify.c
blob
d97a439709c52c9c6e43fb49b1619917c283a219
1
/* Test whether traditional stringify works. */
2
/* { dg-do run } */
3
4
#define foo(a, b) c=
"a"
; d=
"b"
;
5
6
extern
void
abort
();
7
extern
void
exit
(
int
);
8
9
int
main
()
10
{
11
char
*
c
, *
d
;
12
13
foo
(
p
,
q
);
14
if
(
c
[
0
] !=
'p'
||
d
[
0
] !=
'q'
)
15
abort
();
16
17
exit
(
0
);
18
}