Ben Clayton | 177e7bf | 2021-11-22 15:24:16 +0000 | [diff] [blame] | 1 | #include <metal_stdlib> |
2 | |||||
3 | using namespace metal; | ||||
4 | struct A { | ||||
5 | int B; | ||||
6 | }; | ||||
Ben Clayton | 8ec32a6 | 2022-02-09 23:55:51 +0000 | [diff] [blame] | 7 | |
Ben Clayton | 177e7bf | 2021-11-22 15:24:16 +0000 | [diff] [blame] | 8 | struct _A { |
9 | int _B; | ||||
10 | }; | ||||
11 | |||||
12 | void f() { | ||||
dan sinclair | 3abad2c | 2022-08-11 02:28:01 +0000 | [diff] [blame] | 13 | _A const c = _A{}; |
Ben Clayton | 177e7bf | 2021-11-22 15:24:16 +0000 | [diff] [blame] | 14 | int const d = c._B; |
15 | } | ||||
16 |