repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Re-land [openmp] Fix warnings when building on Windows with latest MSVC or Clang...
[llvm-project.git]
/
llvm
/
test
/
TableGen
/
if-type.td
blob
f4049e692e80ed8a4b4ea1ac30f54467882c6047
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: Field 'x' of type 'C' is incompatible with value '{{.*}}' of type 'A'
9
class X<int cc, B b, C c> {
10
C x = !if(cc, b, c);
11
}