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
/
19990407-1.c
blob
d6da8d65689f70af628c3e576fb5745853419603
1
/* Regression test for a cpplib macro-expansion bug where
2
`@' becomes `@@' when stringified. */
3
4
/* { dg-do run } */
5
6
#include <string.h>
7
#include <stdlib.h>
8
9
#define STR(x) #x
10
11
char
*
a
=
STR
(
@foo
), *
b
=
"@foo"
;
12
13
int
14
main
(
void
)
15
{
16
if
(
strcmp
(
a
,
b
))
17
abort
();
18
return
0
;
19
}