Mercurial > hg > CbC > CbC_llvm
view llvm/test/TableGen/ValidIdentifiers.td @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// 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 }}