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