summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-16 13:09:38 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-16 13:09:38 +0000
commit22642efda7e6534076c91bd0d9ee4a244ea44c4a (patch)
treef379042d103278bfa7fe040ddace8f7ca34aa4cd /gcc/testsuite/gcc.dg/cpp
parent5be59a5529f8877a7933cf0131353a0d54383b96 (diff)
downloadgcc-22642efda7e6534076c91bd0d9ee4a244ea44c4a.tar.gz
2009-06-16 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r148523 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@148527 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp')
-rw-r--r--gcc/testsuite/gcc.dg/cpp/line3.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/line3.c b/gcc/testsuite/gcc.dg/cpp/line3.c
index dc5bf818da9..7a1061478d4 100644
--- a/gcc/testsuite/gcc.dg/cpp/line3.c
+++ b/gcc/testsuite/gcc.dg/cpp/line3.c
@@ -14,15 +14,15 @@ main(void)
char *A;
A = "text"; /* { dg-warning "discards qualifiers" "case zero" } */
- A = one("text"
+ A = one("text" /* { dg-warning "discards qualifiers" "case one" } */
"text")
- ; /* { dg-warning "discards qualifiers" "case one" } */
- A = two("text"
+ ;
+ A = two("text" /* { dg-warning "discards qualifiers" "case two" } */
"text")
- ; /* { dg-warning "discards qualifiers" "case two" } */
- A = four("text"
+ ;
+ A = four("text" /* { dg-warning "discards qualifiers" "case four" } */
"text")
- ; /* { dg-warning "discards qualifiers" "case four" } */
+ ;
return 0;
}