Commit c48ff202 by Paolo Carlini

pr15774-1.C: Adjust expected message.

2013-12-05  Paolo Carlini  <paolo.carlini@oracle.com>

	* g++.dg/warn/pr15774-1.C: Adjust expected message.

From-SVN: r205722
parent 5ba505e7
2013-12-05 Paolo Carlini <paolo.carlini@oracle.com>
* g++.dg/warn/pr15774-1.C: Adjust expected message.
2013-12-05 Vladimir Makarov <vmakarov@redhat.com> 2013-12-05 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/59317 PR rtl-optimization/59317
......
// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } } // { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } }
// Test that an new declartion with different attributes then old one fail. // Test that an new declartion with different attributes then old one fail.
extern void foo (int); // { dg-error "ambiguates old declaration" } extern void foo (int); // { dg-message "old declaration" }
void void
bar (void) bar (void)
......
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