summaryrefslogtreecommitdiff
path: root/support/regression/tests/constmodifiers.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/regression/tests/constmodifiers.c')
-rw-r--r--support/regression/tests/constmodifiers.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/support/regression/tests/constmodifiers.c b/support/regression/tests/constmodifiers.c
new file mode 100644
index 0000000..f64dc77
--- /dev/null
+++ b/support/regression/tests/constmodifiers.c
@@ -0,0 +1,11 @@
+/* Tests usage of constant modifiers.
+ */
+#include <testfwk.h>
+
+void
+testUMod(void)
+{
+ volatile unsigned char a = 0;
+
+ ASSERT((a |= 0xFFL) == 0xFFL);
+}