aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/string-u8-type.c1
-rw-r--r--test/string-u8-type.qbe0
2 files changed, 1 insertions, 0 deletions
diff --git a/test/string-u8-type.c b/test/string-u8-type.c
new file mode 100644
index 0000000..d7fe074
--- /dev/null
+++ b/test/string-u8-type.c
@@ -0,0 +1 @@
+_Static_assert(__builtin_types_compatible_p(__typeof__(u8"abc"), unsigned char[]));
diff --git a/test/string-u8-type.qbe b/test/string-u8-type.qbe
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test/string-u8-type.qbe