repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git]
/
test
/
TableGen
/
if-type.td
blob
809195be007eb43e2e720b75be08a67125898ce6
1
// RUN: not llvm-tblgen %s 2>&1 | FileCheck %s
2
// XFAIL: vg_leak
3
4
class A<int dummy> {}
5
class B<int dummy> : A<dummy> {}
6
class C<int dummy> : A<dummy> {}
7
8
// CHECK: Value 'x' of type 'C' is incompatible with initializer '{{.*}}' of type 'A'
9
class X<int cc, B b, C c> {
10
C x = !if(cc, b, c);
11
}