diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-10-28 18:01:40 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-10-28 18:01:40 +0000 |
commit | eee954bf975cf742e7651840d069fa4ce94ddb7e (patch) | |
tree | 8d48c96b0a801722146a2653cfbd2d9cf446bad2 /gcc/testsuite/gcc.dg/cpp/paste6.c | |
parent | 79bd622b1c2d25fb1e8d671a87c2d6157d249628 (diff) | |
download | gcc-eee954bf975cf742e7651840d069fa4ce94ddb7e.tar.gz |
* gcc.dg/cpp/19960224-2.c, 20000625-2.c, cxxcom2.c, directiv.c,
endif.c, if-4.c, if-5.c, if-mop.c, macsyntx.c, paste2.c, paste6.c,
paste8.c, redef2.c, strify2.c, strp1.c, tr-warn1.c, tr-warn3.c,
tr-warn6.c, undef1.c, undef2.c, widestr1.c: Update tests for
new diagnostic messages.
* gcc.dg/cpp/macro3.c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37099 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/paste6.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/paste6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/paste6.c b/gcc/testsuite/gcc.dg/cpp/paste6.c index 0ac55df328a..6b6733c4e9d 100644 --- a/gcc/testsuite/gcc.dg/cpp/paste6.c +++ b/gcc/testsuite/gcc.dg/cpp/paste6.c @@ -7,6 +7,6 @@ extern int foo(int x); #define bar(x) foo(x) -#define baz(x) bar(##x) /* { dg-warning "nothing can be pasted" } */ +#define baz(x) bar(##x) -int quux(int y) { return baz(y); } +int quux(int y) { return baz(y); } /* { dg-warning "valid preprocessing" } */ |