blob: 4b803a96c7de063c4beb2e3a6ee4bfb5b6b6bb01 [file] [log] [blame]
Ben Claytoncc05d892021-12-03 21:50:23 +00001#include <metal_stdlib>
2
3using namespace metal;
4struct A {
5 int a;
6};
Ben Clayton8ec32a62022-02-09 23:55:51 +00007
Ben Claytoncc05d892021-12-03 21:50:23 +00008struct B {
9 int b;
10};
11
12B f(A a) {
dan sinclair3abad2c2022-08-11 02:28:01 +000013 B const tint_symbol = B{};
Ben Claytoncc05d892021-12-03 21:50:23 +000014 return tint_symbol;
15}
16