1 // Test this without pch.
2 // RUN: %clang_cc1 %s -include %s -verify -fsyntax-only -Wno-sign-compare -Wtautological-compare
5 // RUN: %clang_cc1 %s -emit-pch -o %t -Wsign-compare -Wtautological-compare
6 // RUN: %clang_cc1 %s -include-pch %t -verify -fsyntax-only -Wno-sign-compare -Wtautological-compare
8 // expected-no-diagnostics
10 // This tests that diagnostic mappings from PCH are propagated for #pragma
11 // diagnostics but not for command-line flags.
16 #pragma clang diagnostic ignored "-Wtautological-compare"