diff options
author | David Blaikie <dblaikie@gmail.com> | 2015-04-16 23:25:00 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2015-04-16 23:25:00 +0000 |
commit | 47e7a08734ae659dc8c79589e4b454e855b880bf (patch) | |
tree | aed01f956a49d8005d744d7c63cae75ef6c07961 /test/CodeGenCXX/unknown-anytype.cpp | |
parent | 80cbce09b9403a3b8a9e3c670ff1fef5fbcb56c7 (diff) |
[opaque pointer types] Explicit non-pointer type for call expressions
(migration for recent LLVM change to textual IR for calls)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@235147 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/unknown-anytype.cpp')
-rw-r--r-- | test/CodeGenCXX/unknown-anytype.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/CodeGenCXX/unknown-anytype.cpp b/test/CodeGenCXX/unknown-anytype.cpp index fe10b13daa..42ed472380 100644 --- a/test/CodeGenCXX/unknown-anytype.cpp +++ b/test/CodeGenCXX/unknown-anytype.cpp @@ -24,15 +24,15 @@ int test1() { extern "C" __unknown_anytype test2_any(...); float test2() { - // X86_64: call float (double, ...)* @test2_any(double {{[^,]+}}) - // I386: call float (double, ...)* @test2_any(double {{[^,]+}}) + // X86_64: call float (double, ...) @test2_any(double {{[^,]+}}) + // I386: call float (double, ...) @test2_any(double {{[^,]+}}) return (float) test2_any(0.5f); } extern "C" __unknown_anytype test2a_any(...); float test2a() { - // X86_64: call float (float, ...)* @test2a_any(float {{[^,]+}}) - // I386: call float (float, ...)* @test2a_any(float {{[^,]+}}) + // X86_64: call float (float, ...) @test2a_any(float {{[^,]+}}) + // I386: call float (float, ...) @test2a_any(float {{[^,]+}}) return (float) test2a_any((float) 0.5f); } @@ -119,7 +119,7 @@ void test10() { extern "C" __unknown_anytype malloc(...); void test11() { void *s = (void*)malloc(12); - // COMMON: call i8* (i32, ...)* @malloc(i32 12) + // COMMON: call i8* (i32, ...) @malloc(i32 12) void *d = (void*)malloc(435); - // COMMON: call i8* (i32, ...)* @malloc(i32 435) + // COMMON: call i8* (i32, ...) @malloc(i32 435) } |