diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/diagnostics/command-line/separate-debug-info-unsupported-glsl.slang | 9 | ||||
| -rw-r--r-- | tests/diagnostics/command-line/separate-debug-info-unsupported-target.slang | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/tests/diagnostics/command-line/separate-debug-info-unsupported-glsl.slang b/tests/diagnostics/command-line/separate-debug-info-unsupported-glsl.slang new file mode 100644 index 000000000..d8c58245a --- /dev/null +++ b/tests/diagnostics/command-line/separate-debug-info-unsupported-glsl.slang @@ -0,0 +1,9 @@ +// separate-debug-info-unsupported-glsl.slang + +//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK):-target glsl -separate-debug-info -entry main -stage vertex + +// CHECK: warning 18: '-separate-debug-info' is not supported for target 'glsl' + +void main() +{ +}
\ No newline at end of file diff --git a/tests/diagnostics/command-line/separate-debug-info-unsupported-target.slang b/tests/diagnostics/command-line/separate-debug-info-unsupported-target.slang new file mode 100644 index 000000000..da65ec0f8 --- /dev/null +++ b/tests/diagnostics/command-line/separate-debug-info-unsupported-target.slang @@ -0,0 +1,9 @@ +// separate-debug-info-unsupported-target.slang + +//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK):-target hlsl -separate-debug-info -entry main -stage vertex + +// CHECK: warning 18: '-separate-debug-info' is not supported for target 'hlsl' + +void main() +{ +}
\ No newline at end of file |
