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