blob: 2a218eae93792b834a54139781fc2c7e4f472500 [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
void f(int a) {
int const a = a;
int const b = a;
}
program_source:5:13: error: redefinition of 'a' with a different type: 'const int' vs 'int'
int const a = a;
^
program_source:4:12: note: previous definition is here
void f(int a) {
^