aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/TableGen/if-unresolved-cast.td
blob: 2174d7e54c72bb7ca1a4cd879c2e8fd91504b3a8 (plain)
1
2
3
4
5
6
7
8
// RUN: not llvm-tblgen %s 2>&1 | FileCheck %s
// XFAIL: vg_leak

class A { int x; }

// CHECK: Undefined reference to record: ''
if !cast<A>("").x then
  def x;