llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) <details> <summary>Changes</summary> This was supposed to call callReturnsComplex(). --- Full diff: https://github.com/llvm/llvm-project/pull/176085.diff 1 Files Affected: - (modified) clang/test/AST/ByteCode/c.c (+1-1) ``````````diff diff --git a/clang/test/AST/ByteCode/c.c b/clang/test/AST/ByteCode/c.c index 749e2c1af32ef..8c1a4ba46e229 100644 --- a/clang/test/AST/ByteCode/c.c +++ b/clang/test/AST/ByteCode/c.c @@ -415,5 +415,5 @@ void CopyArrayToFnPtr(void) { *(VC2 *)func_ = C2; } _Complex double returnsComplex(); // pedantic-warning {{a function declaration without a prototype is deprecated in all versions of C}} void callReturnsComplex(void) { _Complex double c; - c = foo(0.); + c = callReturnsComplex(0.); } `````````` </details> https://github.com/llvm/llvm-project/pull/176085 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
