mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-23 15:29:51 +00:00
4b5724b864
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197872 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
340 B
TableGen
17 lines
340 B
TableGen
// RUN: llvm-tblgen -gen-ctags %s | FileCheck %s
|
|
// XFAIL: vg_leak
|
|
|
|
// Ensure that generated names for anonymous records are valid identifiers via the ctags index.
|
|
|
|
class foo<int X> { int THEVAL = X; }
|
|
// CHECK: {{^X }}
|
|
|
|
def : foo<2>;
|
|
// CHECK: {{^anonymous_0 }}
|
|
|
|
def X {
|
|
foo Y = foo<1>;
|
|
}
|
|
// CHECK: {{^anonymous_1 }}
|
|
// CHECK: {{^foo }}
|