diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/ipa/pr64068.C')
-rw-r--r-- | gcc/testsuite/g++.dg/ipa/pr64068.C | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/g++.dg/ipa/pr64068.C b/gcc/testsuite/g++.dg/ipa/pr64068.C index 95288836c36..008fab1e1e6 100644 --- a/gcc/testsuite/g++.dg/ipa/pr64068.C +++ b/gcc/testsuite/g++.dg/ipa/pr64068.C @@ -3,12 +3,12 @@ typedef int PROV_ENUMALGS_EX, PCCRYPT_OID_INFO; class A { - int m_fn2(); + void m_fn2(); virtual bool m_fn1(PCCRYPT_OID_INFO); }; int fn1(); void fn2(); -int A::m_fn2() { m_fn1(0); } +void A::m_fn2() { m_fn1(0); } bool fn3() { for (;;) { @@ -27,7 +27,7 @@ public: B() { fn3(); } }; class C : A { - bool m_fn1(PCCRYPT_OID_INFO) { m_fn3(); } + bool m_fn1(PCCRYPT_OID_INFO) { m_fn3(); return true; } int isSupportedByProvider_algId; PROV_ENUMALGS_EX isSupportedByProvider_outEnumAlgs; PROV_ENUMALGS_EX isSupportedByProvider_enumAlgs; |