1 // RUN: llvm-tblgen %s | FileCheck %s
3 class Droid<string series, int release, string model, int patchlevel> {
4 string Series = series;
7 int Patchlevel = patchlevel;
10 foreach S = ["R", "C"] in {
11 foreach R = [2, 3, 4] in {
12 foreach M = ["D", "P", "Q"] in {
13 foreach P = [0, 2, 4] in {
14 def S#R#M#P : Droid<S, R, M, P>;
21 foreach j = !foreach(x, [0, 2], !add(i, x)) in