Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Side by Side Diff: tests_lit/parse_errs/call-fcn-bad-param-type.test

Issue 1678133003: Subzero: Fix trailing whitespace errors. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Rebase Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 ; Show that we check parameter types of a function call against paramter types 1 ; Show that we check parameter types of a function call against paramter types
2 ; of called function. 2 ; of called function.
3 3
4 ; REQUIRES: no_minimal_build 4 ; REQUIRES: no_minimal_build
5 5
6 ; RUN: not %pnacl_sz -bitcode-as-text %p/Inputs/call-fcn-bad-param-type.tbc \ 6 ; RUN: not %pnacl_sz -bitcode-as-text %p/Inputs/call-fcn-bad-param-type.tbc \
7 ; RUN: -bitcode-format=pnacl -notranslate -build-on-read \ 7 ; RUN: -bitcode-format=pnacl -notranslate -build-on-read \
8 ; RUN: -allow-externally-defined-symbols 2>&1 \ 8 ; RUN: -allow-externally-defined-symbols 2>&1 \
9 ; RUN: | FileCheck %s 9 ; RUN: | FileCheck %s
10 10
(...skipping 29 matching lines...) Expand all
40 ; DIS-NEXT: %c1 = i8 1; 40 ; DIS-NEXT: %c1 = i8 1;
41 ; DIS-NEXT: } 41 ; DIS-NEXT: }
42 ; DIS-NEXT: %b0: 42 ; DIS-NEXT: %b0:
43 ; DIS-NEXT: %v0 = add i8 %c1, %c1; 43 ; DIS-NEXT: %v0 = add i8 %c1, %c1;
44 ; DIS-NEXT: call void @f0(i8 %c1); 44 ; DIS-NEXT: call void @f0(i8 %c1);
45 ; DIS-NEXT: Error({{.*}}): Parameter 1 mismatch: i8 and i32 45 ; DIS-NEXT: Error({{.*}}): Parameter 1 mismatch: i8 and i32
46 ; CHECK: Argument 1 of f expects i32. Found: i8 46 ; CHECK: Argument 1 of f expects i32. Found: i8
47 ; DIS-NEXT: ret void; 47 ; DIS-NEXT: ret void;
48 ; DIS-NEXT: } 48 ; DIS-NEXT: }
49 ; DIS-NEXT: } 49 ; DIS-NEXT: }
50
51
52
53
OLDNEW
« no previous file with comments | « tests_lit/parse_errs/bad-var-fwdref.test ('k') | tests_lit/parse_errs/call-fcn-bad-return-type.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698