1// RUN: llvm-tblgen %s | FileCheck %s 2// XFAIL: vg_leak 3// CHECK: No subst 4// CHECK: No foo 5// CHECK: RECURSE foo 6 7class Recurse<string t> { 8 string Text = t; 9} 10 11class Text<string text> : 12 Recurse<!subst("RECURSE", "RECURSE", !subst("NORECURSE", "foo", text))>; 13 14def Ok1 : Text<"No subst">; 15def Ok2 : Text<"No NORECURSE">; 16def Trouble : Text<"RECURSE NORECURSE">; 17