We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac350b0 commit 82dae60Copy full SHA for 82dae60
test/regression/Issue849/Main.hx
@@ -7,4 +7,15 @@ function main() {
7
8
// char16_t
9
trace(untyped __cpp__('::String::create(u"Hello world")'));
10
+
11
+ // explicit 0 length
12
13
+ // char
14
+ trace(untyped __cpp__('::String::create("Hello world", 0)'));
15
16
+ // wchar_t
17
+ trace(untyped __cpp__('::String::create(L"Hello world", 0)'));
18
19
+ // char16_t
20
+ trace(untyped __cpp__('::String::create(u"Hello world", 0)'));
21
}
test/regression/Issue849/stdout.txt
@@ -1,3 +1,6 @@
1
Main.hx:3: Hello world
2
Main.hx:6: Hello world
3
Main.hx:9: Hello world
4
+Main.hx:14:
5
+Main.hx:17:
6
+Main.hx:20:
0 commit comments