summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/cxx_alignof.cpp
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-04-04 11:55:27 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-04-08 09:05:56 (GMT)
commit7605fee593a00e0345a4842241ff1f2a043b7ebf (patch)
tree8124fd65377df2ada097d62348cf2aceca5c3a59 /Tests/CompileFeatures/cxx_alignof.cpp
parente7d6e1f44f0f3bcf7ded76ec8d649b7a0552778c (diff)
downloadCMake-7605fee593a00e0345a4842241ff1f2a043b7ebf.zip
CMake-7605fee593a00e0345a4842241ff1f2a043b7ebf.tar.gz
CMake-7605fee593a00e0345a4842241ff1f2a043b7ebf.tar.bz2
Features: Add cxx_alignof.
Diffstat (limited to 'Tests/CompileFeatures/cxx_alignof.cpp')
-rw-r--r--Tests/CompileFeatures/cxx_alignof.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/cxx_alignof.cpp b/Tests/CompileFeatures/cxx_alignof.cpp
new file mode 100644
index 0000000..63b14fe
--- /dev/null
+++ b/Tests/CompileFeatures/cxx_alignof.cpp
@@ -0,0 +1,5 @@
+
+int someFunc()
+{
+ return alignof(int);
+}