//TEST:REFLECTION(filecheck=CHECK):-stage compute -entry computeMain -target hlsl -no-codegen // CHECK-DAG: "Hello \t\n\0x083 World": -215446506 // CHECK-DAG: "Try another": 900483678 import string_literal_module; //TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out RWStructuredBuffer outputBuffer; [numthreads(4, 1, 1)] void computeMain( uint tid : SV_DispatchThreadID) { int value = doSomethingElse() + getStringHash("Hello \t\n\0x083 World"); outputBuffer[tid] = value; }