• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1struct S { float f; };
2
3void not_a_field()    { S s; s.missing = 123; }
4void not_a_function() { S s; s.f(); }
5void not_a_bvec()     { S s; s.f = bool3(true); }
6void not_a_struct()   { S s; s.f.missing; }
7void not_an_array()   { S s; s.f[0]; }
8
9/*%%*
10type 'S' does not have a field named 'missing'
11not a function
12type mismatch: '=' cannot operate on 'float', 'bool3'
13too many components in swizzle mask
14expected array, but found 'float'
15*%%*/
16