================
@@ -411,3 +411,9 @@ _Static_assert((((I64){}, 1)), ""); // all-warning {{left
operand of comma opera
char func_(void);
typedef V(2) char VC2;
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.);
----------------
AaronBallman wrote:
This doesn't call `returnsComplex()` is that intentional?
https://github.com/llvm/llvm-project/pull/175920
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits