Mercurial > hg > CbC > CbC_llvm
comparison llvm/test/TableGen/template-arg-dependency.td @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
147:c2174574ed3a | 150:1d019706d866 |
---|---|
1 // RUN: llvm-tblgen %s | FileCheck %s | |
2 // XFAIL: vg_leak | |
3 | |
4 // CHECK: --- Defs --- | |
5 | |
6 // CHECK: def A0 { | |
7 // CHECK: int ret = 3; | |
8 // CHECK: } | |
9 | |
10 class A<int a, | |
11 int b = !add(a, 1), | |
12 int sum = !add(a, b)> { | |
13 int ret = sum; | |
14 } | |
15 | |
16 def A0 : A<1>; |