diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-04-04 11:54:08 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-08 09:05:56 (GMT) |
commit | e7d6e1f44f0f3bcf7ded76ec8d649b7a0552778c (patch) | |
tree | de0fcbb4d64adc851fde71e15f58afe798b5fe04 /Tests/CompileFeatures | |
parent | 32c2acd65c3d48433a50a6c2f9fc00c2a1a699f4 (diff) | |
download | CMake-e7d6e1f44f0f3bcf7ded76ec8d649b7a0552778c.zip CMake-e7d6e1f44f0f3bcf7ded76ec8d649b7a0552778c.tar.gz CMake-e7d6e1f44f0f3bcf7ded76ec8d649b7a0552778c.tar.bz2 |
Features: Add cxx_alignas.
cxx_alignof will be a separate feature known to CMake, because
both can be implemented with separate backward compatibility
versions.
Diffstat (limited to 'Tests/CompileFeatures')
-rw-r--r-- | Tests/CompileFeatures/cxx_alignas.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/cxx_alignas.cpp b/Tests/CompileFeatures/cxx_alignas.cpp new file mode 100644 index 0000000..35b7c82 --- /dev/null +++ b/Tests/CompileFeatures/cxx_alignas.cpp @@ -0,0 +1,4 @@ + +struct S1 { + alignas(8) int n; +}; |