blob: 186e1248ae81b6fd20fc4ba81300b641d90d70b5 [file] [log] [blame]
Brian Osman6c3b23f2021-02-12 13:09:58 -05001struct Foo { float x; } bar;
John Stiles6798e5d2020-09-17 18:20:26 -04002
3void preincrement_matrix() { float4x4 x = float4x4(1); ++x; }
4void predecrement_vector() { float3 x = float3(1); --x; }
5void postincrement_matrix() { float4x4 x = float4x4(1); x++; }
6void postdecrement_vector() { float3 x = float3(1); x--; }
7void not_integer() { int x = !12; }
8void positive_struct() { Foo x = +bar; }
9void negative_struct() { Foo x = -bar; }