re PR testsuite/41856 (g++.dg/lookup/extern-c-redecl[3,4] .C should be target specific)
Fix PR c++/41856 PR c++/41856 * g++.dg/lookup/extern-c-redecl3.C: Make the test x86 only. * g++.dg/lookup/extern-c-redecl4.C: Likewise. From-SVN: r153829
This commit is contained in:
parent
a2f560d05c
commit
41dce858ff
|
@ -1,3 +1,10 @@
|
|||
2009-11-02 Dodji Seketeli <dodji@redhat.com>
|
||||
|
||||
PR c++/41856
|
||||
* g++.dg/lookup/extern-c-redecl3.C: Make the test x86
|
||||
only.
|
||||
* g++.dg/lookup/extern-c-redecl4.C: Likewise.
|
||||
|
||||
2009-11-02 Dodji Seketeli <dodji@redhat.com>
|
||||
|
||||
PR c++/37093
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
// Contributed by Dodji Seketeli <dodji@redhat.com>
|
||||
// Origin: PR c++/41020
|
||||
// { dg-options "" }
|
||||
// { dg-do compile }
|
||||
// { dg-final { scan-assembler-not "call\[\t \]+_Z4forkv" } }
|
||||
// { dg-final { scan-assembler "call\[\t \]+fork" } }
|
||||
// { dg-final { scan-assembler-not "call\[\t \]+\[^\$\]*?_Z4forkv" { target i?86-*-* x86_64-*-* } } }
|
||||
// { dg-final { scan-assembler "call\[\t \]+_?fork" { target i?86-*-* x86_64-*-* } } }
|
||||
|
||||
extern "C" int fork (void);
|
||||
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
// Contributed by Dodji Seketeli <dodji@redhat.com>
|
||||
// Origin: PR c++/41020
|
||||
|
||||
// Avoid the "-ansi -pedantic" option
|
||||
// { dg-options "" }
|
||||
// { dg-do compile }
|
||||
// { dg-final { scan-assembler "call\[\t \]+_Z4forkv" } }
|
||||
// { dg-final { scan-assembler "call\[\t \]+\[^\$\]*?_Z4forkv" { target i?86-*-* x86_64-*-* } } }
|
||||
|
||||
class frok
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue