Mark that the return is using EAX so that we don't use it for some other
[llvm.git] / test / TableGen / lisp.td
blobbbed8690dd5d5e0f474b921cf53a2850c23f13f1
1 // RUN: tblgen %s | grep {}
2 // XFAIL: vg_leak
4 class List<list<string> n> {
5   list<string> names = n;
8 class CAR<string e> {
9   string element = e;
12 class CDR<list<string> r, int n> {
13   list<string> rest = r;
14   int null = n;
17 class NameList<list<string> Names> :
18   List<Names>, CAR<!head(Names)>, CDR<!tail(Names), !empty(!tail(Names))>;
20 def Three : NameList<["Tom", "Dick", "Harry"]>;
22 def One : NameList<["Jeffrey Sinclair"]>;