1 // RUN: %clang_dfsan %s -o %t
2 // RUN: not %run %t 2>&1 | FileCheck %s
5 // REQUIRES: x86_64-target-arch
9 int do_nothing(const char *format
, ...) {
13 int main(int argc
, char **argv
) {
14 int (*fp
)(const char *, ...);
21 // CHECK: FATAL: DataFlowSanitizer: unsupported indirect call to vararg function printf
22 fp("hello %s\n", "world");