Commit ce2acd31 by Marek Polacek Committed by Marek Polacek

* gcc.dg/pr18079-2.c: Fix quoting in dg-warning.

From-SVN: r209801
parent 97891c11
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.
......
......@@ -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'" } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment