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

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

Issue 1387963002: Make sure that all globals are internal, except for "start" functions. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix new tests. Created 5 years, 2 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 ; Test that even if a call parameter matches its declaration, it must still 1 ; Test that even if a call parameter matches its declaration, it must still
2 ; be a legal call parameter type (unless declaration is intrinsic). 2 ; be a legal call parameter type (unless declaration is intrinsic).
3 3
4 ; REQUIRES: no_minimal_build 4 ; REQUIRES: no_minimal_build
5 5
6 ; RUN: %p2i --expect-fail -i %s --insts | FileCheck %s 6 ; RUN: %p2i --expect-fail -i %s --insts --args \
7 ; RUN: -allow-externally-defined-symbols | FileCheck %s
7 8
8 declare void @f(i8); 9 declare void @f(i8);
9 10
10 define void @Test() { 11 define void @Test() {
11 entry: 12 entry:
12 call void @f(i8 1) 13 call void @f(i8 1)
13 ; CHECK: Argument 1 of f has invalid type: i8 14 ; CHECK: Argument 1 of f has invalid type: i8
14 ret void 15 ret void
15 } 16 }
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