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:
5
tests_errors/decl-4.ispc
Normal file
5
tests_errors/decl-4.ispc
Normal file
@@ -0,0 +1,5 @@
|
||||
// Can't declare an unsized array as a local variable without providing an initializer expression to set its size
|
||||
|
||||
int func() {
|
||||
int a[];
|
||||
}
|
||||
Reference in New Issue
Block a user