summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GenerateExportHeader/libshared/libshared.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/GenerateExportHeader/libshared/libshared.h')
-rw-r--r--Tests/RunCMake/GenerateExportHeader/libshared/libshared.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/Tests/RunCMake/GenerateExportHeader/libshared/libshared.h b/Tests/RunCMake/GenerateExportHeader/libshared/libshared.h
index bd9f2e3..62879c2 100644
--- a/Tests/RunCMake/GenerateExportHeader/libshared/libshared.h
+++ b/Tests/RunCMake/GenerateExportHeader/libshared/libshared.h
@@ -16,6 +16,12 @@ public:
int libshared_not_exported() const;
int LIBSHARED_NO_EXPORT libshared_excluded() const;
+
+ static int const LIBSHARED_EXPORT data_exported;
+
+ static int const data_not_exported;
+
+ static int const LIBSHARED_NO_EXPORT data_excluded;
};
class LibsharedNotExported
@@ -30,6 +36,12 @@ public:
int libshared_not_exported() const;
int LIBSHARED_NO_EXPORT libshared_excluded() const;
+
+ static int const LIBSHARED_EXPORT data_exported;
+
+ static int const data_not_exported;
+
+ static int const LIBSHARED_NO_EXPORT data_excluded;
};
class LIBSHARED_NO_EXPORT LibsharedExcluded
@@ -44,6 +56,12 @@ public:
int libshared_not_exported() const;
int LIBSHARED_NO_EXPORT libshared_excluded() const;
+
+ static int const LIBSHARED_EXPORT data_exported;
+
+ static int const data_not_exported;
+
+ static int const LIBSHARED_NO_EXPORT data_excluded;
};
LIBSHARED_EXPORT int libshared_exported();
@@ -54,4 +72,12 @@ int libshared_not_exported();
int LIBSHARED_NO_EXPORT libshared_excluded();
+extern int const LIBSHARED_EXPORT data_exported;
+
+extern int const data_not_exported;
+
+extern int const LIBSHARED_NO_EXPORT data_excluded;
+
+LIBSHARED_EXPORT void use_int(int);
+
#endif