Files
ispc/tests_errors/ptrcast-lose-info.ispc
2013-06-13 16:47:10 +04:00

8 lines
194 B
Plaintext

// Pointer type cast of type "uniform int32 * uniform" to integer type "uniform int32" may lose information.
// rule: run on arch=x86-64
int32 foo(int * uniform x) {
return (int32) x;
}