Issue 140349
Summary [clang] Assertion `hasAggregateEvaluationKind(E->getType()) && "Invalid argument!"' failed.
Labels
Assignees
Reporter k-arrows
    Reproducer:
https://godbolt.org/z/5nz1o6GMz
```c
#include <stdarg.h>

void foo (int s, ...)
{
  va_list ap;
  va_start (ap, s);
 int e = va_arg (ap, int()) ();
  va_end (ap);
}
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to