Browse Source

Fixed Basic tests linking in C++/CLI backend.

This was a regression introduced when fixing the visibility of this variable on Linux.
pull/520/head
triton 11 years ago
parent
commit
dc213e3b99
  1. 2
      tests/Basic/Basic.cpp
  2. 2
      tests/Basic/Basic.h

2
tests/Basic/Basic.cpp

@ -14,7 +14,7 @@ Foo::Foo(Private p)
{ {
} }
DLL_API const int Foo::unsafe = 10; const int Foo::unsafe;
const char* Foo::GetANSI() const char* Foo::GetANSI()
{ {

2
tests/Basic/Basic.h

@ -39,7 +39,7 @@ public:
IgnoredType ignoredType; IgnoredType ignoredType;
int fixedArray[3]; int fixedArray[3];
void* ptr; void* ptr;
static const int unsafe; static const int unsafe = 10;
const char* GetANSI(); const char* GetANSI();
// TODO: VC++ does not support char16 // TODO: VC++ does not support char16

Loading…
Cancel
Save