summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-04-04 08:56:09 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-04-08 09:05:56 (GMT)
commit04c5b99f38aef9a5c9627c35659891aecd8ab41e (patch)
tree9fd56d7501df6fd2935e090f331ca7af84f3b5fc /Tests/CompileFeatures
parente1e292cd069bf811b0635088539aace0f0eeaf68 (diff)
downloadCMake-04c5b99f38aef9a5c9627c35659891aecd8ab41e.zip
CMake-04c5b99f38aef9a5c9627c35659891aecd8ab41e.tar.gz
CMake-04c5b99f38aef9a5c9627c35659891aecd8ab41e.tar.bz2
Features: Add cxx_user_literals.
Diffstat (limited to 'Tests/CompileFeatures')
-rw-r--r--Tests/CompileFeatures/cxx_user_literals.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/cxx_user_literals.cpp b/Tests/CompileFeatures/cxx_user_literals.cpp
new file mode 100644
index 0000000..9e5a588
--- /dev/null
+++ b/Tests/CompileFeatures/cxx_user_literals.cpp
@@ -0,0 +1,7 @@
+
+long double operator "" _meters(long double);
+
+void someFunc()
+{
+ long double i = 1.2_meters;
+}