dan sinclair | 794186c | 2023-11-22 09:45:52 +0000 | [diff] [blame] | 1 | #include <metal_stdlib> |
2 | using namespace metal; | ||||
James Price | 48be7e8 | 2024-06-19 22:38:07 +0000 | [diff] [blame] | 3 | |
dan sinclair | 794186c | 2023-11-22 09:45:52 +0000 | [diff] [blame] | 4 | struct a { |
5 | int a; | ||||
6 | }; | ||||
7 | |||||
8 | void f() { | ||||
James Price | 1aad86d | 2024-06-03 20:48:50 +0000 | [diff] [blame] | 9 | a a_1 = a{}; |
10 | a b = a_1; | ||||
11 | a a_2 = a{}; | ||||
12 | a b_1 = a_2; | ||||
dan sinclair | 794186c | 2023-11-22 09:45:52 +0000 | [diff] [blame] | 13 | } |