aboutsummaryrefslogtreecommitdiff
path: root/test/wchar-sign+riscv64.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-09-06 13:38:00 -0700
committerMichael Forney <mforney@mforney.org>2021-09-06 13:38:00 -0700
commit34ae0d48e9669687003c26f94e07fa00d12dd41f (patch)
treef2de13fb240b5a1f35fa8ed9869a1431529547e9 /test/wchar-sign+riscv64.c
parente07ea69d611991a24d67076df906866c198252c0 (diff)
Add tests for char/wchar_t signedness
Diffstat (limited to 'test/wchar-sign+riscv64.c')
-rw-r--r--test/wchar-sign+riscv64.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/wchar-sign+riscv64.c b/test/wchar-sign+riscv64.c
new file mode 100644
index 0000000..2edb6e4
--- /dev/null
+++ b/test/wchar-sign+riscv64.c
@@ -0,0 +1,4 @@
+int x = -L'\001' > 0;
+int main(void) {
+ return -L'\001' > 0;
+}