kerneltest/e32test/cppexceptions/second_excp.h
branchRCL_3
changeset 43 c1f20ce4abcf
parent 0 a41df078684a
child 44 3e88ff8f41d5
equal deleted inserted replaced
42:a179b74831c9 43:c1f20ce4abcf
    39 NONSHARABLE_CLASS(VB1) : virtual public MySecondException {};
    39 NONSHARABLE_CLASS(VB1) : virtual public MySecondException {};
    40 NONSHARABLE_CLASS(VB2) : virtual public MySecondException {};
    40 NONSHARABLE_CLASS(VB2) : virtual public MySecondException {};
    41 
    41 
    42 class MyFourthException : public VB1 , public VB2 {
    42 class MyFourthException : public VB1 , public VB2 {
    43 public:
    43 public:
       
    44 #if defined(__ARMCC__) && __ARMCC_VERSION >= 400000
       
    45   EXPORT_C MyFourthException(int x) { iVal = x; iVal2=x+2;};
       
    46 #else
    44   MyFourthException(int x) { iVal = x; iVal2=x+2;};
    47   MyFourthException(int x) { iVal = x; iVal2=x+2;};
       
    48 #endif
    45   int iVal2;
    49   int iVal2;
    46 };
    50 };
    47 
    51 
    48 IMPORT_C int thrower4 (int x);
    52 IMPORT_C int thrower4 (int x);
    49 
    53