diff options
author | Marek Polacek <polacek@redhat.com> | 2014-04-25 13:22:13 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2014-04-25 13:22:13 +0000 |
commit | ce2acd31d8dca8447eef2f99430522a3ac920774 (patch) | |
tree | 2924fc759e00272bbe4a7ec0753181efbb9bb7ef /gcc | |
parent | 97891c11e32537dfd2e4a4db1ca8d3eb541cf8aa (diff) | |
download | gcc-ce2acd31d8dca8447eef2f99430522a3ac920774.zip gcc-ce2acd31d8dca8447eef2f99430522a3ac920774.tar.gz gcc-ce2acd31d8dca8447eef2f99430522a3ac920774.tar.bz2 |
* gcc.dg/pr18079-2.c: Fix quoting in dg-warning.
From-SVN: r209801
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr18079-2.c | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6747b75..ba00dc8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2014-04-25 Marek Polacek <polacek@redhat.com> + * gcc.dg/pr18079-2.c: Fix quoting in dg-warning. + +2014-04-25 Marek Polacek <polacek@redhat.com> + PR c/18079 * gcc.dg/pr18079.c: New test. * gcc.dg/pr18079-2.c: New test. diff --git a/gcc/testsuite/gcc.dg/pr18079-2.c b/gcc/testsuite/gcc.dg/pr18079-2.c index 5091dd41b..2c83b70 100644 --- a/gcc/testsuite/gcc.dg/pr18079-2.c +++ b/gcc/testsuite/gcc.dg/pr18079-2.c @@ -3,14 +3,14 @@ /* { dg-options "-Wall" } */ __attribute__ ((always_inline)) void fndecl1 (void); -__attribute__ ((noinline)) void fndecl1 (void); /* { dg-warning "attribute noinline follows declaration with attribute always_inline" } */ +__attribute__ ((noinline)) void fndecl1 (void); /* { dg-warning "attribute 'noinline' follows declaration with attribute 'always_inline'" } */ __attribute__ ((noinline)) void fndecl2 (void); -__attribute__ ((always_inline)) void fndecl2 (void); /* { dg-warning "attribute always_inline follows declaration with attribute noinline" } */ +__attribute__ ((always_inline)) void fndecl2 (void); /* { dg-warning "attribute 'always_inline' follows declaration with attribute 'noinline'" } */ __attribute__ ((hot)) void fndecl3 (void); -__attribute__ ((cold)) void fndecl3 (void); /* { dg-warning "attribute cold follows declaration with attribute hot" } */ +__attribute__ ((cold)) void fndecl3 (void); /* { dg-warning "attribute 'cold' follows declaration with attribute 'hot'" } */ __attribute__ ((cold)) void fndecl4 (void); -__attribute__ ((hot)) void fndecl4 (void); /* { dg-warning "attribute hot follows declaration with attribute cold" } */ +__attribute__ ((hot)) void fndecl4 (void); /* { dg-warning "attribute 'hot' follows declaration with attribute 'cold'" } */ |