blob: 30d3088185b6251e9be53f0492b37732f92204ed [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
struct a {
int a;
};
void f(a a) {
a const b = a;
}
program_source:8:4: error: expected ';' after expression
a const b = a;
^
;
program_source:8:11: error: C++ requires a type specifier for all declarations
a const b = a;
~~~~~ ^
program_source:8:3: warning: expression result unused [-Wunused-value]
a const b = a;
^