summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GenerateExportHeader/libshared/libshared.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/GenerateExportHeader/libshared/libshared.cpp')
-rw-r--r--Tests/RunCMake/GenerateExportHeader/libshared/libshared.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/Tests/RunCMake/GenerateExportHeader/libshared/libshared.cpp b/Tests/RunCMake/GenerateExportHeader/libshared/libshared.cpp
index ad6d356..7e46ab5 100644
--- a/Tests/RunCMake/GenerateExportHeader/libshared/libshared.cpp
+++ b/Tests/RunCMake/GenerateExportHeader/libshared/libshared.cpp
@@ -26,6 +26,12 @@ int Libshared::libshared_excluded() const
return 0;
}
+int const Libshared::data_exported = 1;
+
+int const Libshared::data_not_exported = 1;
+
+int const Libshared::data_excluded = 1;
+
int LibsharedNotExported::libshared() const
{
return 0;
@@ -51,6 +57,12 @@ int LibsharedNotExported::libshared_excluded() const
return 0;
}
+int const LibsharedNotExported::data_exported = 1;
+
+int const LibsharedNotExported::data_not_exported = 1;
+
+int const LibsharedNotExported::data_excluded = 1;
+
int LibsharedExcluded::libshared() const
{
return 0;
@@ -76,6 +88,12 @@ int LibsharedExcluded::libshared_excluded() const
return 0;
}
+int const LibsharedExcluded::data_exported = 1;
+
+int const LibsharedExcluded::data_not_exported = 1;
+
+int const LibsharedExcluded::data_excluded = 1;
+
int libshared()
{
return 0;
@@ -100,3 +118,13 @@ int libshared_excluded()
{
return 0;
}
+
+int const data_exported = 1;
+
+int const data_not_exported = 1;
+
+int const data_excluded = 1;
+
+void use_int(int)
+{
+}