• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#include <metal_stdlib>
2
3using namespace metal;
4struct tint_array_wrapper {
5  float arr[4];
6};
7
8constant int slen = 4;
9constant uint ulen = 4u;
10fragment void tint_symbol() {
11  tint_array_wrapper signed_literal = {};
12  tint_array_wrapper unsigned_literal = {};
13  tint_array_wrapper signed_constant = {};
14  tint_array_wrapper unsigned_constant = {};
15  signed_literal = unsigned_constant;
16  signed_constant = unsigned_literal;
17  return;
18}
19
20