summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/alignof-1.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rtems/basedefs/req/alignof-1.yml')
-rw-r--r--spec/rtems/basedefs/req/alignof-1.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/spec/rtems/basedefs/req/alignof-1.yml b/spec/rtems/basedefs/req/alignof-1.yml
new file mode 100644
index 00000000..9853768f
--- /dev/null
+++ b/spec/rtems/basedefs/req/alignof-1.yml
@@ -0,0 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+links:
+- role: requirement-refinement
+ uid: ../if/alignof
+non-functional-type: interface
+rationale: null
+references: []
+requirement-type: non-functional
+text: |
+ When the code is compiled with a C compiler and
+ the ``__STDC_VERSION__`` symbol is defined with version ``201112L`` or
+ higher or
+ the code is compiled with a C++ compiler
+ and the ``__cplusplus`` symbol is defined with version ``201103L`` or higher,
+ the macro ${../if/alignof:/name} shall not evaluate its
+ argument ${../if/alignof:/params[0]/name}.
+type: requirement