blob: f08e7dda65d3452ee89156fa9b1531886e915d91 [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
thread int I = 0;
void main_1() {
int const x_11 = (I + 1);
}
kernel void tint_symbol() {
main_1();
}
program_source:4:12: error: program scope variable must reside in constant address space
thread int I = 0;
^
program_source:6:13: warning: unused variable 'x_11' [-Wunused-variable]
int const x_11 = (I + 1);
^