Browse Source

Fixed visibility of these methods under GCC.

pull/513/merge
triton 10 years ago
parent
commit
fe00ff8b5a
  1. 12
      tests/Basic/Basic.h

12
tests/Basic/Basic.h

@ -347,13 +347,13 @@ struct DLL_API TestStaticClass @@ -347,13 +347,13 @@ struct DLL_API TestStaticClass
{
static int Add(int a, int b);
static int GetOneTwoThree() { return 123; }
static int GetOneTwoThree();
protected:
static int _Mult(int a, int b) { return a * b; }
static int _Mult(int a, int b);
static int GetFourFiveSix() { return 456; }
static int GetFourFiveSix();
private:
TestStaticClass();
@ -361,6 +361,12 @@ private: @@ -361,6 +361,12 @@ private:
int TestStaticClass::Add(int a, int b) { return a + b; }
int TestStaticClass::GetOneTwoThree() { return 123; }
int TestStaticClass::_Mult(int a, int b) { return a * b; }
int TestStaticClass::GetFourFiveSix() { return 456; }
struct DLL_API TestStaticClassDerived : TestStaticClass
{
static int Foo();

Loading…
Cancel
Save