brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.2 KiB · 5413d24 Raw
72 lines · plain
1; RUN: split-file %s %t2; RUN: not llvm-as < %s %t/outer_left_parenthesis.ll -o /dev/null 2>&1 | FileCheck %s --check-prefix=OUTER-LEFT3; RUN: not llvm-as < %s %t/inner_left_parenthesis.ll -o /dev/null 2>&1 | FileCheck %s --check-prefix=INNER-LEFT4; RUN: not llvm-as < %s %t/inner_right_parenthesis.ll -o /dev/null 2>&1 | FileCheck %s --check-prefix=INNER-RIGHT5; RUN: not llvm-as < %s %t/outer_right_parenthesis.ll -o /dev/null 2>&1 | FileCheck %s --check-prefix=OUTER-RIGHT6; RUN: not llvm-as < %s %t/integer.ll -o /dev/null 2>&1 | FileCheck %s --check-prefix=INTEGER7; RUN: not llvm-as < %s %t/lower_equal_upper.ll -o /dev/null 2>&1 | FileCheck %s --check-prefix=LOWER-EQUAL-UPPER8; RUN: not llvm-as < %s %t/inner_comma.ll -o /dev/null 2>&1 | FileCheck %s --check-prefix=INNER-COMMA9; RUN: not llvm-as < %s %t/outer_comma.ll -o /dev/null 2>&1 | FileCheck %s --check-prefix=OUTER-COMMA10; RUN: not llvm-as < %s %t/empty1.ll -o /dev/null 2>&1 | FileCheck %s --check-prefix=EMPTY111; RUN: not llvm-as < %s %t/empty2.ll -o /dev/null 2>&1 | FileCheck %s --check-prefix=EMPTY212 13;--- outer_left_parenthesis.ll14; OUTER-LEFT: expected '('15define void @foo(ptr initializes 0, 4 %a) {16  ret void17}18 19;--- inner_left_parenthesis.ll20; INNER-LEFT: expected '('21define void @foo(ptr initializes(0, 4 %a) {22  ret void23}24 25;--- inner_right_parenthesis.ll26; INNER-RIGHT: expected ')'27define void @foo(ptr initializes((0, 4 %a) {28  ret void29}30 31;--- outer_right_parenthesis.ll32; OUTER-RIGHT: expected ')'33define void @foo(ptr initializes((0, 4) %a) {34  ret void35}36 37;--- integer.ll38; INTEGER: expected integer39define void @foo(ptr initializes((0.5, 4)) %a) {40  ret void41}42 43;--- lower_equal_upper.ll44; LOWER-EQUAL-UPPER: the range should not represent the full or empty set!45define void @foo(ptr initializes((4, 4)) %a) {46  ret void47}48 49;--- inner_comma.ll50; INNER-COMMA: expected ','51define void @foo(ptr initializes((0 4)) %a) {52  ret void53}54 55;--- outer_comma.ll56; OUTER-COMMA: expected ')'57define void @foo(ptr initializes((0, 4) (8, 12)) %a) {58  ret void59}60 61;--- empty1.ll62; EMPTY1: expected '('63define void @foo(ptr initializes() %a) {64  ret void65}66 67;--- empty2.ll68; EMPTY2: expected integer69define void @foo(ptr initializes(()) %a) {70  ret void71}72