summaryrefslogtreecommitdiffstats
path: root/Tests/Visibility/foo.cpp
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-05-22 19:24:18 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-22 19:24:18 (GMT)
commit771f1b00dc1e9422e543534ca2ea823c98b3e2be (patch)
treed03ae2d748632c1029d0cedfaf99357e839b174d /Tests/Visibility/foo.cpp
parentab55b3b5faac694c28d8725e235923803fb83a8d (diff)
downloadCMake-771f1b00dc1e9422e543534ca2ea823c98b3e2be.zip
CMake-771f1b00dc1e9422e543534ca2ea823c98b3e2be.tar.gz
CMake-771f1b00dc1e9422e543534ca2ea823c98b3e2be.tar.bz2
Tests: Rename Visibility{InlinesHidden =>}
We will soon generalize it to cover other visibility properties.
Diffstat (limited to 'Tests/Visibility/foo.cpp')
-rw-r--r--Tests/Visibility/foo.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/Visibility/foo.cpp b/Tests/Visibility/foo.cpp
new file mode 100644
index 0000000..2b66b69
--- /dev/null
+++ b/Tests/Visibility/foo.cpp
@@ -0,0 +1,11 @@
+class Foo
+{
+public:
+ void bar() {}
+};
+
+void baz()
+{
+ Foo foo;
+ foo.bar();
+}