Files
ispc/tests_errors/const-5.ispc
Matt Pharr 79684a0bed Add support for running tests that are expected to fail
Also add should-fail tests that exercise const and decl
initializers
2011-11-14 08:45:41 -08:00

7 lines
100 B
Plaintext

// Can't assign to type
int func() {
const int a[10] = {1,2,3,4,5,6,7,8,9,10};
a[0] = 1;
}