blob: eb59a8871306d87466aadd22d7585dc07ecb7c16 [file] [log] [blame]
[numthreads(1, 1, 1)]
void main() {
const int x = 42;
const int empty[4] = (int[4])0;
const int nonempty[4] = {1, 2, 3, 4};
const int nonempty_with_expr[4] = {1, x, (x + 1), nonempty[3]};
const int nested_empty[2][3][4] = (int[2][3][4])0;
const int nested_nonempty[2][3][4] = {{{1, 2, 3, 4}, {5, 6, 7, 8}, {9, 10, 11, 12}}, {{13, 14, 15, 16}, {17, 18, 19, 20}, {21, 22, 23, 24}}};
const int tint_symbol[4] = {1, 2, x, (x + 1)};
const int tint_symbol_1[4] = {5, 6, nonempty[2], (nonempty[3] + 1)};
const int tint_symbol_2[3][4] = {tint_symbol, tint_symbol_1, nonempty};
const int nested_nonempty_with_expr[2][3][4] = {tint_symbol_2, nested_nonempty[1]};
const int subexpr_empty = 0;
const int subexpr_nonempty = 3;
const int tint_symbol_3[4] = {1, x, (x + 1), nonempty[3]};
const int subexpr_nonempty_with_expr = tint_symbol_3[2];
const int subexpr_nested_empty[4] = (int[4])0;
const int subexpr_nested_nonempty[4] = {5, 6, 7, 8};
const int tint_symbol_4[4] = {1, x, (x + 1), nonempty[3]};
const int tint_symbol_5[2][4] = {tint_symbol_4, nested_nonempty[1][2]};
const int subexpr_nested_nonempty_with_expr[4] = tint_symbol_5[1];
return;
}