summaryrefslogtreecommitdiffstats
path: root/Tests/NewlineArgs/libcxx1.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-03-06 19:52:39 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-03-06 19:52:39 (GMT)
commit820aa6b961a16af55959a870491b7521d39ff8ca (patch)
tree38fa079e4a41768a177736a3997a7723133b5cac /Tests/NewlineArgs/libcxx1.cxx
parent12b8643feec59a48f548ab02c574d79000b84e87 (diff)
downloadCMake-820aa6b961a16af55959a870491b7521d39ff8ca.zip
CMake-820aa6b961a16af55959a870491b7521d39ff8ca.tar.gz
CMake-820aa6b961a16af55959a870491b7521d39ff8ca.tar.bz2
ENH: added a tets for newlines in some commands
Diffstat (limited to 'Tests/NewlineArgs/libcxx1.cxx')
-rw-r--r--Tests/NewlineArgs/libcxx1.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/NewlineArgs/libcxx1.cxx b/Tests/NewlineArgs/libcxx1.cxx
new file mode 100644
index 0000000..72f171d
--- /dev/null
+++ b/Tests/NewlineArgs/libcxx1.cxx
@@ -0,0 +1,10 @@
+#include "libcxx1.h"
+
+#ifdef TEST_FLAG_1
+#ifdef TEST_FLAG_2
+float LibCxx1Class::Method()
+{
+ return 2.0;
+}
+#endif
+#endif