blob: ce966ad4f875cc8c1d6ea7fbcbb6117d9369c8bb [file] [log] [blame]
Ben Clayton177e7bf2021-11-22 15:24:16 +00001#include <metal_stdlib>
2
3using namespace metal;
4struct A {
5 int B;
6};
Ben Clayton8ec32a62022-02-09 23:55:51 +00007
Ben Clayton177e7bf2021-11-22 15:24:16 +00008struct _A {
9 int _B;
10};
11
12void f() {
dan sinclair3abad2c2022-08-11 02:28:01 +000013 _A const c = _A{};
Ben Clayton177e7bf2021-11-22 15:24:16 +000014 int const d = c._B;
15}
16