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; | |
^ | |