From e8217c70072080e9d1f499cb670cc08f146818f2 Mon Sep 17 00:00:00 2001 From: Julius Ikkala Date: Fri, 10 Jan 2025 03:24:00 +0200 Subject: Fix implicit string conversion breaking NativeStrings (#6035) * Fix implicit string conversion breaking NativeStrings * Allow string literals to coerce to either string type * Add test for CPU string passing --------- Co-authored-by: Yong He --- tests/cpu-program/string-passing.slang.expected | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/cpu-program/string-passing.slang.expected (limited to 'tests/cpu-program/string-passing.slang.expected') diff --git a/tests/cpu-program/string-passing.slang.expected b/tests/cpu-program/string-passing.slang.expected new file mode 100644 index 000000000..0eb55acbf --- /dev/null +++ b/tests/cpu-program/string-passing.slang.expected @@ -0,0 +1,6 @@ +result code = 0 +standard error = { +} +standard output = { +success +} -- cgit v1.2.3