* gcc.dg/pr18079-2.c: Fix quoting in dg-warning.
From-SVN: r209801
This commit is contained in:
parent
97891c11e3
commit
ce2acd31d8
2 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
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
|
||||
|
|
|
@ -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'" } */
|
||||
|
|
Loading…
Add table
Reference in a new issue