summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/spirv/debug-printf.slang4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/spirv/debug-printf.slang b/tests/spirv/debug-printf.slang
index cf8bfafa3..3a5906aa5 100644
--- a/tests/spirv/debug-printf.slang
+++ b/tests/spirv/debug-printf.slang
@@ -4,8 +4,8 @@
void main()
{
printf("test");
- printf("test1 %d", 5);
+ printf(R"(test1 "%d %d")", 5, 6);
// CHECK: %[[SET:[0-9]+]] = OpExtInstImport "NonSemantic.DebugPrintf"
// CHECK: {{.*}} = OpExtInst %{{[a-zA-Z0-9_]+}} %[[SET]] 1 %{{[a-zA-Z0-9_]+}}
- // CHECK: {{.*}} = OpExtInst %{{[a-zA-Z0-9_]+}} %[[SET]] 1 %{{[a-zA-Z0-9_]+}} %{{[a-zA-Z0-9_]+}}
+ // CHECK: {{.*}} = OpExtInst %{{[a-zA-Z0-9_]+}} %[[SET]] 1 %{{[a-zA-Z0-9_]+}} %int_5 %int_6
}