blob: 54af7415f22c3f47fc178312730a2f2eb4bde0d0 [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
struct S {
float field0;
float age;
};
thread S myvar = {};
void main_1() {
myvar.age = 42.0f;
}
fragment void tint_symbol() {
main_1();
}
program_source:8:10: error: program scope variable must reside in constant address space
thread S myvar = {};
^