X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fmi1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fmi1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=82822611a4bc046fea5b07e4a95773b3307b3459;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/mi1.C b/gcc/testsuite/g++.old-deja/g++.pt/mi1.C deleted file mode 100644 index 82822611..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/mi1.C +++ /dev/null @@ -1,75 +0,0 @@ -// Test that binfos aren't erroneously shared between instantiations. - -class PK_CryptoSystem -{ -}; -class PK_Encryptor : public virtual PK_CryptoSystem -{ -}; -class PK_FixedLengthCryptoSystem : public virtual PK_CryptoSystem -{ -public: - virtual unsigned int CipherTextLength() const =0; -}; -class PK_FixedLengthEncryptor : public virtual PK_Encryptor, public virtual PK_FixedLengthCryptoSystem -{ -}; -class PK_SignatureSystem -{ -public: - virtual ~PK_SignatureSystem() {}; -}; -class PK_Signer : public virtual PK_SignatureSystem -{ -public: - virtual void Sign() = 0; -}; -class PK_Verifier : public virtual PK_SignatureSystem -{ -}; -class PK_Precomputation -{ -}; -template class -PK_WithPrecomputation : public T, public virtual PK_Precomputation -{ -}; -typedef PK_WithPrecomputation PKWPFLE; -typedef PK_WithPrecomputation PKWPS; -template class -ECPublicKey : public PKWPFLE -{ -public: - unsigned int CipherTextLength() const { return 1; } - EC ec; -}; -template -class ECPrivateKey : public ECPublicKey, public PKWPS -{ - void Sign() {} - int d; -}; -template -class ECKEP : public ECPrivateKey -{ -}; -class GF2NT : public PK_CryptoSystem -{ - int t1; -}; -class EC2N : public PK_CryptoSystem -{ - GF2NT field; - int a; -}; -template class ECKEP; -template class ECKEP; - -int -main () -{ - ECKEP foo; - - return 0; -} -