summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/cxx_alignof.cpp
diff options
context:
space:
mode:
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);
+}