extended double quoted string tests
author |
thomask |
date |
Sat, 09 Oct 2004 15:08:26 +0000 |
parents |
17dbcb50e9a5 |
children |
c3a43aad8798 |
files |
run/double_quoted_string_17.d run/double_quoted_string_18.d |
diffstat |
2 files changed, 12 insertions(+), 0 deletions(-)
[+]
|
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/run/double_quoted_string_17.d Sat Oct 09 15:08:26 2004 +0000
@@ -0,0 +1,6 @@
+int main(){
+ char[] a= "a" "b" "c";
+ char[] b= \x61 "bc";
+ assert(a==b);
+ return 0;
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/run/double_quoted_string_18.d Sat Oct 09 15:08:26 2004 +0000
@@ -0,0 +1,6 @@
+int main(){
+ char[] a= r"a" x"62" \x63;
+ char[] b= \u0061 "b" \U00000063;
+ assert(a==b);
+ return 0;
+}