Mercurial > hg > CbC > CbC_llvm
view llvm/test/TableGen/template-arg-dependency.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 %s | FileCheck %s // XFAIL: vg_leak // CHECK: --- Defs --- // CHECK: def A0 { // CHECK: int ret = 3; // CHECK: } class A<int a, int b = !add(a, 1), int sum = !add(a, b)> { int ret = sum; } def A0 : A<1>;