1c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor// RUN: %clang_cc1 -E %s | FileCheck %s
2c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor// CHECK: #pragma GCC diagnostic warning "-Wall"
3c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor#pragma GCC diagnostic warning "-Wall"
4c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor// CHECK: #pragma GCC diagnostic ignored "-Wall"
5c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor#pragma GCC diagnostic ignored "-Wall"
6c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor// CHECK: #pragma GCC diagnostic error "-Wall"
7c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor#pragma GCC diagnostic error "-Wall"
8c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor// CHECK: #pragma GCC diagnostic fatal "-Wall"
9c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor#pragma GCC diagnostic fatal "-Wall"
10c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor// CHECK: #pragma GCC diagnostic push
11c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor#pragma GCC diagnostic push
12c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor// CHECK: #pragma GCC diagnostic pop
13c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor#pragma GCC diagnostic pop
14c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor
15c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor// CHECK: #pragma clang diagnostic warning "-Wall"
16c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor#pragma clang diagnostic warning "-Wall"
17c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor// CHECK: #pragma clang diagnostic ignored "-Wall"
18c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor#pragma clang diagnostic ignored "-Wall"
19c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor// CHECK: #pragma clang diagnostic error "-Wall"
20c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor#pragma clang diagnostic error "-Wall"
21c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor// CHECK: #pragma clang diagnostic fatal "-Wall"
22c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor#pragma clang diagnostic fatal "-Wall"
23c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor// CHECK: #pragma clang diagnostic push
24c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor#pragma clang diagnostic push
25c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor// CHECK: #pragma clang diagnostic pop
26c09ce1224dedc470fce9747e5936ff83cc6762ebDouglas Gregor#pragma clang diagnostic pop
27