You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
328 B
12 lines
328 B
// Check that not specifying a valid condition results in error
|
|
|
|
// RUN: not llvm-tblgen %s 2>&1 | FileCheck %s
|
|
// XFAIL: vg_leak
|
|
|
|
class C<int x> {
|
|
string s = !cond(!lt(x,0) : "negative", !gt(x,0) : "positive");
|
|
}
|
|
|
|
def Zero : C<0>;
|
|
//CHECK: error: Zero does not have any true condition in:!cond(0: "negative", 0: "positive")
|