[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / TableGen / if-unresolved-cast.td
blob2174d7e54c72bb7ca1a4cd879c2e8fd91504b3a8
1 // RUN: not llvm-tblgen %s 2>&1 | FileCheck %s
2 // XFAIL: vg_leak
4 class A { int x; }
6 // CHECK: Undefined reference to record: ''
7 if !cast<A>("").x then
8   def x;