Add support for running tests that are expected to fail
Also add should-fail tests that exercise const and decl initializers
This commit is contained in:
6
tests_errors/const-2.ispc
Normal file
6
tests_errors/const-2.ispc
Normal file
@@ -0,0 +1,6 @@
|
||||
// Can't assign to type
|
||||
|
||||
int func() {
|
||||
const int x = 2;
|
||||
x = 0;
|
||||
}
|
||||
Reference in New Issue
Block a user