OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
gcc/
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
cpp
/
trad
/
funlike-4.c
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
}