summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/cxx_alignas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CompileFeatures/cxx_alignas.cpp')
-rw-r--r--Tests/CompileFeatures/cxx_alignas.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/cxx_alignas.cpp b/Tests/CompileFeatures/cxx_alignas.cpp
new file mode 100644
index 0000000..9fc2c2a
--- /dev/null
+++ b/Tests/CompileFeatures/cxx_alignas.cpp
@@ -0,0 +1,5 @@
+
+struct S1
+{
+ alignas(8) int n;
+};