]> granicus.if.org Git - clang/commitdiff
Check for IRGen output when varag is used
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 12 Nov 2014 17:54:11 +0000 (17:54 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 12 Nov 2014 17:54:11 +0000 (17:54 +0000)
in -funknown-anytype  mode (in lldb use).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221796 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/unknown-anytype.cpp

index c1b8c7df708917f77d8bda012820ebaa53d3c460..e6f887bea08393b23d134700cf687d117301db6d 100644 (file)
@@ -119,5 +119,7 @@ void test10() {
 extern "C" __unknown_anytype malloc(...);
 void test11() {
   void *s = (void*)malloc(12);
+  // COMMON: call i8* (i32, ...)* @malloc(i32 12)
   void *d = (void*)malloc(435);
+  // COMMON: call i8* (i32, ...)* @malloc(i32 435)
 }