mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 22:58:37 -05:00
Add some more unit tests.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
|
||||
#include "someclass.h"
|
||||
|
||||
int main(int, char**)
|
||||
{
|
||||
SomeClass sc;
|
||||
sc.someMethod();
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
|
||||
#include "someclass.h"
|
||||
|
||||
#ifndef NODEPRECATEDLIB_NO_DEPRECATED
|
||||
void SomeClass::someMethod() const
|
||||
{
|
||||
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,10 @@
|
||||
|
||||
#include "nodeprecatedlib_export.h"
|
||||
|
||||
class NODEPRECATEDLIB_EXPORT SomeClass
|
||||
{
|
||||
public:
|
||||
#ifndef NODEPRECATEDLIB_NO_DEPRECATED
|
||||
void someMethod() const;
|
||||
#endif
|
||||
};
|
||||
Reference in New Issue
Block a user