blob: 6d165d318c3ad2a6e6192f69d383f758f82848c4 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
float foo() {
int const oob = 99;
float const b = float4(0.0f)[oob];
float4 v = 0.0f;
v[oob] = b;
return b;
}