diff options
Diffstat (limited to 'test/CodeGenCXX/unknown-anytype.cpp')
-rw-r--r-- | test/CodeGenCXX/unknown-anytype.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/CodeGenCXX/unknown-anytype.cpp b/test/CodeGenCXX/unknown-anytype.cpp index e6f887b..42ed472 100644 --- a/test/CodeGenCXX/unknown-anytype.cpp +++ b/test/CodeGenCXX/unknown-anytype.cpp @@ -12,7 +12,7 @@ int test0() { extern __unknown_anytype test0_any; - // COMMON: load i32* @test0_any + // COMMON: load i32, i32* @test0_any return (int) test0_any; } @@ -24,21 +24,21 @@ 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); } float test3() { extern __unknown_anytype test3_any; - // COMMON: [[FN:%.*]] = load float (i32)** @test3_any, + // COMMON: [[FN:%.*]] = load float (i32)*, float (i32)** @test3_any, // COMMON: call float [[FN]](i32 5) return ((float(*)(int)) test3_any)(5); } @@ -48,8 +48,8 @@ namespace test4 { extern __unknown_anytype test4_any2; int test() { - // COMMON: load i32* @_ZN5test410test4_any1E - // COMMON: load i8* @_ZN5test410test4_any2E + // COMMON: load i32, i32* @_ZN5test410test4_any1E + // COMMON: load i8, i8* @_ZN5test410test4_any2E return (int) test4_any1 + (char) test4_any2; } } @@ -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) } |