10 lines · plain
1// RUN: not llvm-tblgen %s 2>&1 | FileCheck %s2 3// CHECK: error: expected value to be a typed value, got '?'4 5def Z1 {6 // This one caused an assertion because the value was an UnsetInit7 // and !eq() can only accept TypedInit's.8 bit D = !if(!eq(?, 0), 1, 0);9}10