SKIP: FAILED | |
#include <metal_stdlib> | |
using namespace metal; | |
thread bool continue_execution = true; | |
void f() { | |
{ | |
while(true) { | |
continue_execution = false; | |
return; | |
} | |
} | |
/* unreachable */ | |
} | |
program_source:4:13: error: program scope variable must reside in constant address space | |
thread bool continue_execution = true; | |
^ | |