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
/
funlike-4.c
blob
fcc65a8d60db7566a2ffe08635f1c55ff42be70d
1
/* Test that undefined names evaluate to zero, that macros after a
2
funlike macro are expanded, and that if it is a '(' the funlike
3
macro is not treated as such. */
4
5
/* { dg-do run } */
6
7
extern
void
abort
(
void
);
8
9
#define f(x) x
10
11
int
main
()
12
{
13
#if f(1) == f
/**/
(
/**/
1
/**/
)
14
int
x
;
15
#endif
16
17
x
=
0
;
18
if
(
f
19
/**/
(
20
/**/
0
/**/
21
/**/
)
22
)
23
abort
();
24
25
return
0
;
26
}