Files
ispc/tests_errors/const-2.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
72 B
Plaintext

// Can't assign to type
int func() {
const int x = 2;
x = 0;
}