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

// Can't pre-increment
int func() {
const int x = 2;
++x;
}