2 // RUN: %clang_cc1 -pedantic -fixit -x c++ %t
3 // RUN: %clang_cc1 -fsyntax-only -pedantic -Werror -x c++ %t
6 /* This is a test of the various code modification hints that are
7 provided as part of warning or extension diagnostics. All of the
8 warnings will be fixed by -fixit, and the resulting file should
9 compile cleanly with -Werror -pedantic. */
15 int foo(int S::* ps
, S s
, S
* p
)
21 void foo1(int (S::*ps
)(), S s
, S
* p
)