1 // RUN: %clang_cc1 %s -emit-html -o -
6 #define F(fmt, ...) fmt, ## __VA_ARGS__
7 int main(int argc
, char **argv
) {
12 #define FOR_ALL_FILES(f,i) i
18 // -emit-html filters out # directives, but not _Pragma (or MS __pragma)
19 // Diagnostic push/pop is stateful, so re-lexing a file can cause problems
20 // if these pragmas are interpreted normally.
21 _Pragma("clang diagnostic push")
22 _Pragma("clang diagnostic ignored \"-Wformat-extra-args\"")
23 _Pragma("clang diagnostic pop")