brintos

brintos / llvm-project-archived public Read only

0
0
Text · 340 B · 333ede0 Raw
17 lines · plain
1// RUN: llvm-tblgen -gen-ctags %s | FileCheck %s2// XFAIL: vg_leak3 4// Ensure that generated names for anonymous records are valid identifiers via the ctags index.5 6class foo<int X> { int THEVAL = X; }7// CHECK: {{^X }}8 9def : foo<2>;10// CHECK: {{^anonymous_0 }}11 12def X {13  foo Y = foo<1>;14}15// CHECK: {{^anonymous_1 }}16// CHECK: {{^foo }}17