Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / FixIt / attr-format.c
blobb2c1f75dad506d067a19b3a8c4de9d244d0928a4
1 // RUN: not %clang_cc1 %s -fsyntax-only -fdiagnostics-parseable-fixits 2>&1 | FileCheck %s
3 // CHECK: fix-it:"{{.*}}attr-format.c":{4:36-4:37}:"0"
4 __attribute__((format(strftime, 1, 1)))
5 void my_strftime(const char *fmt);
7 // CHECK: fix-it:"{{.*}}attr-format.c":{8:34-8:36}:"2"
8 __attribute__((format(printf, 1, 10)))
9 void my_strftime(const char *fmt, ...);