summaryrefslogtreecommitdiff
path: root/tests/bugs
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2025-02-05 12:32:56 -0800
committerGitHub <noreply@github.com>2025-02-05 12:32:56 -0800
commit7911c9437333692db275d2dff41264f4c8023be8 (patch)
treedd83ca191f47aed0bd512dfb9412038a7b7d3f0e /tests/bugs
parent613f43a080f84e2680fb78dc4ed60a553da3b418 (diff)
Use two-stage parsing to disambiguate generic app and comparison. (#6281)
* Use two-stage parsing to disambiguate generic app and comparison. * Typo fix. * Update doc.
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/gh-4150.slang6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/bugs/gh-4150.slang b/tests/bugs/gh-4150.slang
index 031d778a9..a6c9f7a0b 100644
--- a/tests/bugs/gh-4150.slang
+++ b/tests/bugs/gh-4150.slang
@@ -27,15 +27,15 @@ void main(uint3 pixel_i : SV_DispatchThreadID)
output[0] =
#ifdef ERROR1
// expect error: trying to specialize RWTex, which has two arguments, with only one argument.
- // CHECK1:([[# @LINE+1]]): error 30075
+ // CHECK1-DAG:([[# @LINE+1]]): error 30075
RWTex<float3>::get(p.image_id);
#else
RWTex<float, 3>::get(p.image_id);
#endif
- //CHECK1:([[# @LINE+1]]): error 30071
+ //CHECK1-DAG:([[# @LINE+1]]): error 30071
static float sa1[];
- //CHECK1:([[# @LINE+1]]): error 30071
+ //CHECK1-DAG:([[# @LINE+1]]): error 30071
float sa2[];
//CHECK1-NOT:([[# @LINE+1]]): error