SKIP: FAILED | |
#include <metal_stdlib> | |
using namespace metal; | |
void f() { | |
int const a = 0; | |
int const b = a; | |
int const a = 0; | |
int const b = a; | |
} | |
program_source:7:13: error: redefinition of 'a' | |
int const a = 0; | |
^ | |
program_source:5:13: note: previous definition is here | |
int const a = 0; | |
^ | |
program_source:8:13: error: redefinition of 'b' | |
int const b = a; | |
^ | |
program_source:6:13: note: previous definition is here | |
int const b = a; | |
^ | |