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
This commit is contained in:
Paolo Carlini 2013-12-05 23:17:57 +00:00
parent 5ba505e708
commit c48ff202fc
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
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>
PR rtl-optimization/59317
@ -27,7 +31,7 @@
* c-c++-common/tsan/thread_leak2.c: New test.
* c-c++-common/tsan/tiny_race.c: New test.
* c-c++-common/tsan/tls_race.c: New test.
* c-c++-common/tsan/write_in_reader_lock.c: New test.
* c-c++-common/tsan/write_in_reader_lock.c: New test.
* lib/tsan-dg.exp: New file.
* gcc.dg/tsan/tsan.exp: New file.
* g++.dg/tsan/tsan.exp: New file.

View File

@ -1,6 +1,6 @@
// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } }
// 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
bar (void)