1 // Test this without pch.
2 // RUN: %clang_cc1 -Wunused-macros -Dunused=1 -fsyntax-only -verify %s
5 // RUN: %clang_cc1 -Wunused-macros -emit-pch -o %t %s
6 // RUN: %clang_cc1 -Wunused-macros -Dunused=1 -include-pch %t -fsyntax-only -verify %s
8 // expected-no-diagnostics
10 // -Dunused=1 is intentionally not set for the pch.
11 // There still should be no unused warning for a macro from the command line.