diff options
Diffstat (limited to 'tests/diagnostics')
| -rw-r--r-- | tests/diagnostics/modifier-check.slang | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/diagnostics/modifier-check.slang b/tests/diagnostics/modifier-check.slang new file mode 100644 index 000000000..e42b2ae0e --- /dev/null +++ b/tests/diagnostics/modifier-check.slang @@ -0,0 +1,9 @@ +//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK): + +// CHECK: ([[# @LINE+1]]): error 31201 +layout(rgba8); +Texture2D<float4> tex; + +// CHECK: ([[# @LINE+1]]): error 31202 +public internal int v() +{} |
