We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be199f2 commit 1f636dbCopy full SHA for 1f636db
.github/workflows/build.yml
@@ -32,3 +32,4 @@ jobs:
32
cd test
33
/usr/bin/bash build.sh
34
./valid
35
+ ./invalid
test/invalid_test.c
@@ -19,9 +19,9 @@ int main(void)
19
fprintf(stderr, "%s\n", error);
20
wgsl_validator_free_error(error);
21
wgsl_validator_destroy(validator);
22
- return 1;
+ return 0;
23
}
24
25
- puts("Successfully parsed shader");
26
- return 0;
+ fprintf(stderr, "Successfully parsed shader (Should not have happened)\n");
+ return 1;
27
0 commit comments